Browse Source

Move nanosleep() proto to from sys/time.h to time.h where it belongs.

Problem noted by Jean-Baptiste Marchand
OPENBSD_2_9
millert 24 years ago
parent
commit
1b96aaa5ef
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/include/time.h

+ 3
- 1
src/include/time.h View File

@ -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 $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */
/* /*
@ -89,6 +89,7 @@ struct tm {
#include <sys/cdefs.h> #include <sys/cdefs.h>
__BEGIN_DECLS __BEGIN_DECLS
struct timespec;
char *asctime __P((const struct tm *)); char *asctime __P((const struct tm *));
clock_t clock __P((void)); clock_t clock __P((void));
char *ctime __P((const time_t *)); 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 *)); char *ctime_r __P((const time_t *, char *));
struct tm *gmtime_r __P((const time_t *, struct tm *)); struct tm *gmtime_r __P((const time_t *, struct tm *));
struct tm *localtime_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) #if !defined(_ANSI_SOURCE)
#define CLK_TCK 100 #define CLK_TCK 100


Loading…
Cancel
Save