aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-03 21:19:56 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-03 21:19:56 +0000
commit5b070c7513197cd8483fd90dfbc7ae8c8b3f91e1 (patch)
tree8e93f8e79196ed7008ae2d1315ba3fb9f4b6c89b /sysdeps/generic
parent602d9786f1a8d78238dbbe118f36416f8490f779 (diff)
downloadglibc-5b070c7513197cd8483fd90dfbc7ae8c8b3f91e1.tar
glibc-5b070c7513197cd8483fd90dfbc7ae8c8b3f91e1.tar.gz
glibc-5b070c7513197cd8483fd90dfbc7ae8c8b3f91e1.tar.bz2
glibc-5b070c7513197cd8483fd90dfbc7ae8c8b3f91e1.zip
Update.
2002-08-03 Ulrich Drepper <drepper@redhat.com> * include/string.h: Use libc_hidden_proto for __strcasecmp_l, __strncasecmp_l, __strdup, __strndup, __strerror_r. * sysdeps/generic/strcasecmp_l.c (__strcasecmp_l): Add libc_hidden_def. * string/strdup.c (__strdup): Likewise. * string/strndup.c (__strndup): Likewise. * sysdeps/generic/_strerror.c (__strerror_r): Likewise. * sysdeps/generic/strncase_l.c (__strncasecmp_l): Likewise.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/_strerror.c1
-rw-r--r--sysdeps/generic/strcasecmp_l.c4
-rw-r--r--sysdeps/generic/strncase_l.c4
3 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/generic/_strerror.c b/sysdeps/generic/_strerror.c
index c8f2a9c239..f19217fdeb 100644
--- a/sysdeps/generic/_strerror.c
+++ b/sysdeps/generic/_strerror.c
@@ -69,3 +69,4 @@ __strerror_r (int errnum, char *buf, size_t buflen)
return (char *) _(INTUSE(_sys_errlist)[errnum]);
}
weak_alias (__strerror_r, strerror_r)
+libc_hidden_def (__strerror_r)
diff --git a/sysdeps/generic/strcasecmp_l.c b/sysdeps/generic/strcasecmp_l.c
index 107ce8a250..a13f66dae8 100644
--- a/sysdeps/generic/strcasecmp_l.c
+++ b/sysdeps/generic/strcasecmp_l.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 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
@@ -18,3 +18,5 @@
#define USE_IN_EXTENDED_LOCALE_MODEL 1
#include <sysdeps/generic/strcasecmp.c>
+
+libc_hidden_def (__strcasecmp_l)
diff --git a/sysdeps/generic/strncase_l.c b/sysdeps/generic/strncase_l.c
index 424913fddb..7704fc7fff 100644
--- a/sysdeps/generic/strncase_l.c
+++ b/sysdeps/generic/strncase_l.c
@@ -1,6 +1,6 @@
/* Compare at most N characters of two strings without taking care for
the case using given locale.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 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
@@ -20,3 +20,5 @@
#define USE_IN_EXTENDED_LOCALE_MODEL 1
#include <sysdeps/generic/strncase.c>
+
+libc_hidden_def (__strncasecmp_l)