From e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 6 Aug 2002 05:10:45 +0000 Subject: * 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. --- resolv/herror.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'resolv') 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) -- cgit v1.2.3