/* Convert a string representation of time to a time value.
- Copyright (C) 1996-2013 Free Software Foundation, Inc.
+ Copyright (C) 1996-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
/* XXX This version of the implementation is not really complete.
Some of the fields cannot add information alone. But if seeing
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);
}