aboutsummaryrefslogtreecommitdiff
path: root/include/time.h
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>2002-06-27 18:40:51 +0000
committerGarrett Wollman <wollman@FreeBSD.org>2002-06-27 18:40:51 +0000
commitb8c540541137bb215167c94b1d9c66e4354ef6a0 (patch)
tree76833d3f3548b048021d0b0b03bbdb2589a73ea1 /include/time.h
parenteb486650eca9fa98b04ee7de062ebdfe66768ee1 (diff)
downloadsrc-b8c540541137bb215167c94b1d9c66e4354ef6a0.tar.gz
src-b8c540541137bb215167c94b1d9c66e4354ef6a0.zip
Resort namespace blocks into a more sensible order. Delete a redundant
comment.
Notes
Notes: svn path=/head/; revision=98923
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 beec15032c9e..69610bc51dc1 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_ */