From 60f20c19fb3f4fc7c4d383dcfb2b54e70906e818 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 27 Aug 2002 22:57:05 +0000 Subject: * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strptime_l instead, taking an extra __locale_t argument. * time/Makefile (routines): Add strptime_l. * time/strptime_l.c: New file. * time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strftime_l or __wcsftime_l instead, taking an extra __locale_t argument. --- time/strptime_l.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 time/strptime_l.c (limited to 'time/strptime_l.c') diff --git a/time/strptime_l.c b/time/strptime_l.c new file mode 100644 index 0000000000..681386003d --- /dev/null +++ b/time/strptime_l.c @@ -0,0 +1,22 @@ +/* Copyright (C) 2002 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#define USE_IN_EXTENDED_LOCALE_MODEL 1 +#include + +weak_alias (__strptime_l, strptime_l) -- cgit 1.4.1