From b8c540541137bb215167c94b1d9c66e4354ef6a0 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Thu, 27 Jun 2002 18:40:51 +0000 Subject: [PATCH] Resort namespace blocks into a more sensible order. Delete a redundant comment. --- include/time.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/include/time.h b/include/time.h index beec15032c9..69610bc51dc 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_ */ -- 2.45.0