summaryrefslogtreecommitdiff
path: root/wcsmbs/mbsinit.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-11-15 21:58:21 +0000
committerUlrich Drepper <drepper@redhat.com>2003-11-15 21:58:21 +0000
commit2def87644d44b41bb908d4ed150a110d4d9399ea (patch)
treef909778eb7bafe08caee15da12ddce2a1694645f /wcsmbs/mbsinit.c
parentecdcadbd16e1a350e9429dff668456e1f943c02b (diff)
downloadglibc-2def87644d44b41bb908d4ed150a110d4d9399ea.tar.gz
Update.
2003-11-15 Ulrich Drepper <drepper@redhat.com> * wcsmbs/mbsinit.c: Undef mbsinit and __mbsinit. * include/wchar.h: Provide inline versions of mbsinit and __mbsinit.
Diffstat (limited to 'wcsmbs/mbsinit.c')
-rw-r--r--wcsmbs/mbsinit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wcsmbs/mbsinit.c b/wcsmbs/mbsinit.c
index 5d740c85fc..569cdd89ec 100644
--- a/wcsmbs/mbsinit.c
+++ b/wcsmbs/mbsinit.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1996.
@@ -20,6 +20,9 @@
#include <string.h>
#include <wchar.h>
+#undef mbsinit
+#undef __mbsinit
+
/* In GNU libc the conversion functions only can convert between the
fixed wide character representation and the multibyte
representation of the same character set. Since we use ISO 10646