diff options
author | Christopher Faylor <me@cgf.cx> | 2005-11-18 18:45:51 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-11-18 18:45:51 +0300 |
commit | 808139f1af2a37d898f06664cc2f8124f2b61e70 (patch) | |
tree | e661610f9139ee59953d31b1aa266f5630cd5c24 /winsup/cygwin/include | |
parent | 9d60f4f87a5b2fa7b05ead7ba9751bcdbcc2ccce (diff) |
* include/cygwin/sys_time.h: Rename from include/cygwin/time.h.
* include/cygwin/time.h: New file.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/sys_time.h | 8 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/time.h | 25 |
2 files changed, 29 insertions, 4 deletions
diff --git a/winsup/cygwin/include/cygwin/sys_time.h b/winsup/cygwin/include/cygwin/sys_time.h index a5e95f977..acf4b799d 100644 --- a/winsup/cygwin/include/cygwin/sys_time.h +++ b/winsup/cygwin/include/cygwin/sys_time.h @@ -1,4 +1,4 @@ -/* time.h +/* sys_time.h 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 details. */ -#ifndef _CYGWIN_TIME_H -#define _CYGWIN_TIME_H +#ifndef _CYGWIN_SYS_TIME_H +#define _CYGWIN_SYS_TIME_H #include <sys/select.h> #ifdef __cplusplus @@ -22,4 +22,4 @@ int clock_setres (clockid_t, struct timespec *); #ifdef __cplusplus } #endif -#endif /* _CYGWIN_TIME_H */ +#endif /*_CYGWIN_SYS_TIME_H*/ diff --git a/winsup/cygwin/include/cygwin/time.h b/winsup/cygwin/include/cygwin/time.h new file mode 100644 index 000000000..dadb6ce06 --- /dev/null +++ b/winsup/cygwin/include/cygwin/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*/ |