From: cgf Date: Fri, 18 Nov 2005 15:45:51 +0000 (+0000) Subject: * include/cygwin/sys_time.h: Rename from include/cygwin/time.h. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=84a3d1a12713336f8411d240fb46d444c5a9da7a;p=pf3gnuchains%2Fpf3gnuchains3x.git * include/cygwin/sys_time.h: Rename from include/cygwin/time.h. * include/cygwin/time.h: New file. --- diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 52a636165c..5f5c1d5ca1 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-11-18 Christopher Faylor + + * include/cygwin/sys_time.h: Rename from include/cygwin/time.h. + * include/cygwin/time.h: New file. + 2005-11-17 Christopher Faylor * fork.cc (fork): Move top-of-stack calculation later. diff --git a/winsup/cygwin/include/cygwin/sys_time.h b/winsup/cygwin/include/cygwin/sys_time.h index a5e95f9775..acf4b799d1 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 #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 0000000000..dadb6ce06d --- /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*/