]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - time/strptime.c
Fix mktime localtime offset confusion
[thirdparty/glibc.git] / time / strptime.c
index 81cdbbdd30b8348dd63276fd3e532692d060d442..bbc5239aa1dc1ee55a0dd84a487c5c3e5e0c1779 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert a string representation of time to a time value.
-   Copyright (C) 1996-2014 Free Software Foundation, Inc.
+   Copyright (C) 1996-2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
 
 
 char *
-strptime (buf, format, tm)
-     const char *buf;
-     const char *format;
-     struct tm *tm;
+strptime (const char *buf, const char *format, struct tm *tm)
 {
   return __strptime_internal (buf, format, tm, NULL, _NL_CURRENT_LOCALE);
 }