mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
Oops, move clock_*() and nanosleep() to time.h
Submitted by: Peter Dufault <dufault@hda.com>
This commit is contained in:
parent
fff65794d9
commit
2c97335b81
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25749
|
@ -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 *));
|
||||
|
||||
|
|
|
@ -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 *));
|
||||
|
|
Loading…
Reference in a new issue