diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-03-09 02:18:01 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-03-09 02:18:01 +0000 |
commit | 7ecb284739f3f5a91dea1828150f23f769fc98b7 (patch) | |
tree | 4db0df46e02f86320ddf928b371b134f4fb290c9 /include/time.h | |
parent | 3b96cc6a2eaa9705944283a63078445fd8c3458c (diff) |
Move nanosleep() proto to from sys/time.h to time.h where it belongs.
Problem noted by Jean-Baptiste Marchand
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h index d929141e395..800bc442f4b 100644 --- a/include/time.h +++ b/include/time.h @@ -1,4 +1,4 @@ -/* $OpenBSD: time.h,v 1.9 2000/08/22 13:59:44 millert Exp $ */ +/* $OpenBSD: time.h,v 1.10 2001/03/09 02:18:00 millert Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* @@ -89,6 +89,7 @@ struct tm { #include <sys/cdefs.h> __BEGIN_DECLS +struct timespec; char *asctime __P((const struct tm *)); clock_t clock __P((void)); char *ctime __P((const time_t *)); @@ -103,6 +104,7 @@ char *asctime_r __P((const struct tm *, char *)); char *ctime_r __P((const time_t *, char *)); struct tm *gmtime_r __P((const time_t *, struct tm *)); struct tm *localtime_r __P((const time_t *, struct tm *)); +int nanosleep __P((const struct timespec *, struct timespec *)); #if !defined(_ANSI_SOURCE) #define CLK_TCK 100 |