aboutsummaryrefslogtreecommitdiff
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 /sunrpc/svc_simple.c
parent* sysdeps/posix/system.c (do_system): New function, guts broken out of (diff)
downloadglibc-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 'sunrpc/svc_simple.c')
-rw-r--r--sunrpc/svc_simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/svc_simple.c b/sunrpc/svc_simple.c
index 397b71f520..b30e4cff4d 100644
--- a/sunrpc/svc_simple.c
+++ b/sunrpc/svc_simple.c
@@ -98,8 +98,8 @@ registerrpc (u_long prognum, u_long versnum, u_long procnum,
}
}
(void) pmap_unset ((u_long) prognum, (u_long) versnum);
- if (!INTUSE(svc_register) (transp, (u_long) prognum, (u_long) versnum,
- universal, IPPROTO_UDP))
+ if (!svc_register (transp, (u_long) prognum, (u_long) versnum,
+ universal, IPPROTO_UDP))
{
(void) __asprintf (&buf, _("couldn't register prog %ld vers %ld\n"),
prognum, versnum);