aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-27 22:57:05 +0000
committerRoland McGrath <roland@gnu.org>2002-08-27 22:57:05 +0000
commit60f20c19fb3f4fc7c4d383dcfb2b54e70906e818 (patch)
tree5c50a3dad7d4aeb56445f638665bbfb73ec24f6a /time/strptime_l.c
parent* time/time.h (__strptime_l, strptime_l): Declare them. (diff)
downloadglibc-60f20c19fb3f4fc7c4d383dcfb2b54e70906e818.tar.gz
glibc-60f20c19fb3f4fc7c4d383dcfb2b54e70906e818.tar.bz2
glibc-60f20c19fb3f4fc7c4d383dcfb2b54e70906e818.zip
* 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.
Diffstat (limited to 'time/strptime_l.c')
-rw-r--r--time/strptime_l.c22
1 files changed, 22 insertions, 0 deletions
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 <strptime.c>
+
+weak_alias (__strptime_l, strptime_l)