HomeFreeBSD

Let <sched.h> define struct timespec.

Description

Let <sched.h> define struct timespec.

POSIX 2004 doesn't require that this header defines struct timespec, but
does allow it. For FreeBSD, we would at least need a forward declaration
for sched_rr_get_interval().

POSIX 2008 is a bit more demanding, as it now requires that it is
declared. Remove the old forward declaration and include the _timespec.h
header. This should conform to both POSIX 2004 and 2008 now.

Details

Provenance
edAuthored on
Parents
rS301025: Make iscsictl(8) error messages more consistent.
Branches
Unknown
Tags
Unknown