summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-12 12:58:40 +0000
committerpeter <peter@FreeBSD.org>1997-05-12 12:58:40 +0000
commit28bb5a5088c3906b40d39854b04a372263d9c703 (patch)
tree2a241f8833c5f7c83035fb019913f6d6518f6866 /include
parentaa32c9dd60d51c53faa3c7cdeb36aef45b43adec (diff)
downloadFreeBSD-src-28bb5a5088c3906b40d39854b04a372263d9c703.zip
FreeBSD-src-28bb5a5088c3906b40d39854b04a372263d9c703.tar.gz
Oops, move clock_*() and nanosleep() to time.h
Submitted by: Peter Dufault <dufault@hda.com>
Diffstat (limited to 'include')
-rw-r--r--include/time.h4
-rw-r--r--include/unistd.h4
2 files changed, 4 insertions, 4 deletions
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 *));
OpenPOWER on IntegriCloud