aboutsummaryrefslogtreecommitdiff
path: root/wctype
diff options
context:
space:
mode:
Diffstat (limited to 'wctype')
-rw-r--r--wctype/wctype.c5
-rw-r--r--wctype/wctype.h1
2 files changed, 4 insertions, 2 deletions
diff --git a/wctype/wctype.c b/wctype/wctype.c
index 81b9ac9b43..6f6338c2e2 100644
--- a/wctype/wctype.c
+++ b/wctype/wctype.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1996.
@@ -23,7 +23,7 @@
#include <locale/localeinfo.h>
wctype_t
-wctype (const char *property)
+__wctype (const char *property)
{
const char *names;
wctype_t result;
@@ -51,3 +51,4 @@ wctype (const char *property)
return SWAPU32 (result);
#endif
}
+weak_alias (__wctype, wctype)
diff --git a/wctype/wctype.h b/wctype/wctype.h
index 2ed0fe1f35..43ff8e4d1a 100644
--- a/wctype/wctype.h
+++ b/wctype/wctype.h
@@ -151,6 +151,7 @@ extern int iswxdigit __P ((wint_t __wc));
/* Construct value that describes a class of wide characters identified
by the string argument PROPERTY. */
+extern wctype_t __wctype __P ((__const char *__property));
extern wctype_t wctype __P ((__const char *__property));
/* Determine whether the wide-character WC has the property described by