From 28bb5a5088c3906b40d39854b04a372263d9c703 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 12 May 1997 12:58:40 +0000 Subject: Oops, move clock_*() and nanosleep() to time.h Submitted by: Peter Dufault --- include/time.h | 4 ++++ include/unistd.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/time.h b/include/time.h index 1051f27..5b3bcd3 100644 --- a/include/time.h +++ b/include/time.h @@ -92,11 +92,15 @@ struct tm { __BEGIN_DECLS char *asctime __P((const struct tm *)); clock_t clock __P((void)); +int clock_getres __P((clockid_t, struct timespec *)); +int clock_gettime __P((clockid_t, struct timespec *)); +int clock_settime __P((clockid_t, const struct timespec *)); char *ctime __P((const time_t *)); double difftime __P((time_t, time_t)); struct tm *gmtime __P((const time_t *)); struct tm *localtime __P((const time_t *)); time_t mktime __P((struct tm *)); +int nanosleep __P((const struct timespec *, struct timespec *)); size_t strftime __P((char *, size_t, const char *, const struct tm *)); time_t time __P((time_t *)); diff --git a/include/unistd.h b/include/unistd.h index e88d995..a89fc6f 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -57,9 +57,6 @@ int access __P((const char *, int)); unsigned int alarm __P((unsigned int)); int chdir __P((const char *)); int chown __P((const char *, uid_t, gid_t)); -int clock_getres __P((clockid_t, struct timespec *)); -int clock_gettime __P((clockid_t, struct timespec *)); -int clock_settime __P((clockid_t, const struct timespec *)); int close __P((int)); int dup __P((int)); int dup2 __P((int, int)); @@ -87,7 +84,6 @@ int link __P((const char *, const char *)); #define _LSEEK_DECLARED off_t lseek __P((int, off_t, int)); #endif -int nanosleep __P((const struct timespec *, struct timespec *)); long pathconf __P((const char *, int)); int pause __P((void)); int pipe __P((int *)); -- cgit v1.1