summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2002-06-27 18:40:51 +0000
committerwollman <wollman@FreeBSD.org>2002-06-27 18:40:51 +0000
commit2f042ea88fa2b3fd0aa9424e17f21c9623fcea57 (patch)
tree76833d3f3548b048021d0b0b03bbdb2589a73ea1 /include/time.h
parent59390e1d94c8e1b4a14bc0aa66cd5578c1fde603 (diff)
downloadFreeBSD-src-2f042ea88fa2b3fd0aa9424e17f21c9623fcea57.zip
FreeBSD-src-2f042ea88fa2b3fd0aa9424e17f21c9623fcea57.tar.gz
Resort namespace blocks into a more sensible order. Delete a redundant
comment.
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/time.h b/include/time.h
index beec150..69610bc 100644
--- a/include/time.h
+++ b/include/time.h
@@ -134,6 +134,13 @@ struct tm *gmtime_r(const time_t *, struct tm *);
struct tm *localtime_r(const time_t *, struct tm *);
#endif
+#if __POSIX_VISIBLE >= 199309
+int clock_getres(clockid_t, struct timespec *);
+int clock_gettime(clockid_t, struct timespec *);
+int clock_settime(clockid_t, const struct timespec *);
+int nanosleep(const struct timespec *, struct timespec *);
+#endif /* __POSIX_VISIBLE >= 199309 */
+
#if __XSI_VISIBLE
char *strptime(const char *, const char *, struct tm *);
#endif
@@ -144,14 +151,6 @@ void tzsetwall(void);
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
#endif /* __BSD_VISIBLE */
-
-#if __POSIX_VISIBLE >= 199309
-/* Introduced in POSIX 1003.1b-1993, not part of 1003.1-1990. */
-int clock_getres(clockid_t, struct timespec *);
-int clock_gettime(clockid_t, struct timespec *);
-int clock_settime(clockid_t, const struct timespec *);
-int nanosleep(const struct timespec *, struct timespec *);
-#endif /* __POSIX_VISIBLE >= 199309 */
__END_DECLS
#endif /* !_TIME_H_ */
OpenPOWER on IntegriCloud