aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-06 05:10:45 +0000
committerRoland McGrath <roland@gnu.org>2002-08-06 05:10:45 +0000
commite2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be (patch)
tree11a2f090a9a079435c6f771106ed2bc2fe58e29f /resolv
parenta585ba226b0adfc310a49bb5045c3a3096da3da3 (diff)
downloadglibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar
glibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar.gz
glibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar.bz2
glibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.zip
* include/stdlib.h: Use libc_hidden_proto for wctomb.
* stdlib/wctomb.c: Add libc_hidden_def. * include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af, rexec_af, rresvport_af, ruserok_af, iruserok_af, ruserpass, hstrerror. * resolv/herror.c: Likewise. * inet/rcmd.c: Add libc_hidden_def. * inet/ruserpass.c: Likewise. * inet/getnetgrent_r.c: Likewise. * include/rpc/auth.h: Use libc_hidden_proto for getnetname, netname2user, host2netname, user2netname. * sunrpc/netname.c: Add libc_hidden_def. * include/rpc/svc.h: Use libc_hidden_proto for svc_register, svc_unregister, remove *_internal decls. Use libc_hidden_proto for svcerr_auth, svcerr_noprog, svcerr_progvers. * sunrpc/svc.c (svc_register, svc_unregister): Change INTDEF to libc_hidden_def. (svcerr_auth, svcerr_noprog, svcerr_progvers): Add libc_hidden_def. * sunrpc/svc_simple.c (registerrpc): Nix INTUSE for svc_register.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/herror.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/resolv/herror.c b/resolv/herror.c
index d53a0b5b0e..11a6a5ee69 100644
--- a/resolv/herror.c
+++ b/resolv/herror.c
@@ -1,7 +1,7 @@
/*
* Copyright (c) 1987, 1993
* The Regents of the University of California. All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -109,3 +109,4 @@ hstrerror(int err) {
return _(h_errlist[err]);
return _("Unknown resolver error");
}
+libc_hidden_def (hstrerror)