diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-06 06:09:28 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-06 06:09:28 +0000 |
commit | 9b0b40d35e239d33fbb66ebe88b7249f9a8f006e (patch) | |
tree | 99757a9381e77c9b6c37b72822230e833a8f9a02 /wcsmbs | |
parent | e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be (diff) | |
download | glibc-9b0b40d35e239d33fbb66ebe88b7249f9a8f006e.tar.gz glibc-9b0b40d35e239d33fbb66ebe88b7249f9a8f006e.tar.xz glibc-9b0b40d35e239d33fbb66ebe88b7249f9a8f006e.zip |
* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
netname2user, host2netname, user2netname, key_gendes. * sunrpc/netname.c: Add libc_hidden_def. * sunrpc/key_call.c: Likewise. * include/netdb.h: Use libc_hidden_proto for getaddrinfo, getnameinfo, freeaddrinfo. * inet/getnameinfo.c: Add libc_hidden_def. * sysdeps/generic/getaddrinfo.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. * include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset. * wcsmbs/wmemchr.c: Add libc_hidden_def. * wcsmbs/wmemset.c: Add libc_hidden_def. * include/string.h: Move libc_hidden_proto's inside #ifndef _STRING_H. (index, rindex): Define as macros for strchr, strrchr. * string/envz.c (envz_strip): index -> strchr * include/rpc/rpc_msg.h: Use libc_hidden_proto for _seterr_reply. * sunrpc/rpc_prot.c: Add libc_hidden_def. * include/wchar.h: Use libc_hidden_proto for mbrtowc. * wcsmbs/mbrtowc.c: Add libc_hidden_weak.
Diffstat (limited to 'wcsmbs')
-rw-r--r-- | wcsmbs/mbrtowc.c | 1 | ||||
-rw-r--r-- | wcsmbs/wmemchr.c | 5 | ||||
-rw-r--r-- | wcsmbs/wmemset.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/wcsmbs/mbrtowc.c b/wcsmbs/mbrtowc.c index 521fdd753f..c25ba51d4b 100644 --- a/wcsmbs/mbrtowc.c +++ b/wcsmbs/mbrtowc.c @@ -106,3 +106,4 @@ __mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) } libc_hidden_def (__mbrtowc) weak_alias (__mbrtowc, mbrtowc) +libc_hidden_weak (mbrtowc) diff --git a/wcsmbs/wmemchr.c b/wcsmbs/wmemchr.c index 5cf18346a0..da93e965b2 100644 --- a/wcsmbs/wmemchr.c +++ b/wcsmbs/wmemchr.c @@ -1,6 +1,6 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996,97,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. - Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1996. + Contributed by Ulrich Drepper <drepper@gnu.org>, 1996. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -60,3 +60,4 @@ wmemchr (s, c, n) return NULL; } +libc_hidden_def (wmemchr) diff --git a/wcsmbs/wmemset.c b/wcsmbs/wmemset.c index 0565173635..ae69f1fd0e 100644 --- a/wcsmbs/wmemset.c +++ b/wcsmbs/wmemset.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1996,97,99,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.org>, 1996. @@ -53,3 +53,4 @@ wmemset (s, c, n) return s; } +libc_hidden_def (wmemset) |