Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2014-10-22 23:03:02 +0400
committerYaakov Selkowitz <yselkowi@redhat.com>2014-10-22 23:03:02 +0400
commitd6aa3abb4faf78264d317e2ce48415fd41ea13ee (patch)
tree2c01d97b3b0e5e8b4a5696337191689606f22ecd /winsup/cygwin/include
parent06fb98f4b5bd861d78995e934f718037f5914051 (diff)
* common.din (stime): Export.
* times.cc (stime): New function. * include/cygwin/time.h (stime): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/cygwin/time.h2
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/time.h b/winsup/cygwin/include/cygwin/time.h
index 3dbc372a3..6a82ae657 100644
--- a/winsup/cygwin/include/cygwin/time.h
+++ b/winsup/cygwin/include/cygwin/time.h
@@ -26,6 +26,8 @@ time_t __cdecl timegm (struct tm *);
#ifndef __STRICT_ANSI__
+extern int stime (const time_t *);
+
extern int daylight __asm__ (_SYMSTR (_daylight));
#ifndef __timezonefunc__
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index fab6f641c..813220e61 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -454,12 +454,13 @@ details. */
276: Export ffsl, ffsll.
277: Add setsockopt(SO_PEERCRED).
278: Add quotactl.
+ 279: Export stime.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 278
+#define CYGWIN_VERSION_API_MINOR 279
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible