summary refs log tree commit diff
path: root/time/strftime_l.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-27 22:38:19 +0000
committerRoland McGrath <roland@gnu.org>2002-08-27 22:38:19 +0000
commitc4d6f155e0ad6c3794fd3e7d2fa28e18ee9410b9 (patch)
treedbd9c143da2c049692889737783bb3db69a6d502 /time/strftime_l.c
parent1d4959d856d014ed8ed0462297e62c355cc7167f (diff)
downloadglibc-c4d6f155e0ad6c3794fd3e7d2fa28e18ee9410b9.tar.gz
glibc-c4d6f155e0ad6c3794fd3e7d2fa28e18ee9410b9.tar.xz
glibc-c4d6f155e0ad6c3794fd3e7d2fa28e18ee9410b9.zip
* time/time.h (__strptime_l, strptime_l): Declare them.
	* time/time.h (__strftime_l, strftime_l): Declare them.
	* wcsmbs/wchar.h (__wcsftime_l, wcsftime_l): Declare them.
	* time/strftime_l.c: New file.
	* time/wcsftime_l.c: New file.
	* time/Makefile (routines): Add strftime_l, wcsftime_l.
	* time/Versions (libc: GLIBC_2.3): Add __strftime_l, __wcsftime_l,
	strftime_l, wcsftime_l.
Diffstat (limited to 'time/strftime_l.c')
-rw-r--r--time/strftime_l.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/time/strftime_l.c b/time/strftime_l.c
new file mode 100644
index 0000000000..c6ecada4ce
--- /dev/null
+++ b/time/strftime_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 <strftime.c>
+
+weak_alias (__strftime_l, strftime_l)