* include/cygwin/sys_time.h: Rename from include/cygwin/time.h.
* include/cygwin/time.h: New file.
This commit is contained in:
parent
9d60f4f87a
commit
808139f1af
|
@ -1,3 +1,8 @@
|
||||||
|
2005-11-18 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* include/cygwin/sys_time.h: Rename from include/cygwin/time.h.
|
||||||
|
* include/cygwin/time.h: New file.
|
||||||
|
|
||||||
2005-11-17 Christopher Faylor <cgf@timesys.com>
|
2005-11-17 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* fork.cc (fork): Move top-of-stack calculation later.
|
* fork.cc (fork): Move top-of-stack calculation later.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* time.h
|
/* sys_time.h
|
||||||
|
|
||||||
Copyright 2005 Red Hat Inc.
|
Copyright 2005 Red Hat Inc.
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ This software is a copyrighted work licensed under the terms of the
|
||||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||||
details. */
|
details. */
|
||||||
|
|
||||||
#ifndef _CYGWIN_TIME_H
|
#ifndef _CYGWIN_SYS_TIME_H
|
||||||
#define _CYGWIN_TIME_H
|
#define _CYGWIN_SYS_TIME_H
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -22,4 +22,4 @@ int clock_setres (clockid_t, struct timespec *);
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif /* _CYGWIN_TIME_H */
|
#endif /*_CYGWIN_SYS_TIME_H*/
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
/* time.h
|
||||||
|
|
||||||
|
Copyright 2005 Red Hat Inc.
|
||||||
|
|
||||||
|
This file is part of Cygwin.
|
||||||
|
|
||||||
|
This software is a copyrighted work licensed under the terms of the
|
||||||
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||||
|
details. */
|
||||||
|
|
||||||
|
#ifndef _CYGWIN_TIME_H
|
||||||
|
#define _CYGWIN_TIME_H
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int nanosleep (const struct timespec *, struct timespec *);
|
||||||
|
int clock_setres (clockid_t, struct timespec *);
|
||||||
|
int clock_getres (clockid_t, struct timespec *);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif /*_CYGWIN_TIME_H*/
|
Loading…
Reference in New Issue