From a49d0179dbc21bcdee7701d296b54e2215e0ed8b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 21 Dec 2001 10:16:16 +0000 Subject: * elf/dblloadmod1.c: Add prototype to avoid warning. * elf/dblloadmod2.c: Likewise. * elf/dblloadmod3.c: Likewise. * elf/reldepmod5.c: Likewise. * elf/reldepmod6.c: Likewise. * elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not used on all architectures. * sunrpc/svc_tcp.c: Add noreturn attribute for svctcp_rendezvous_abort. * sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort. * sysdeps/generic/strstr.c (strstr): Add paranthese for assignment to avoid warning. --- sunrpc/svc_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sunrpc/svc_tcp.c') diff --git a/sunrpc/svc_tcp.c b/sunrpc/svc_tcp.c index cda2484b6f..8249474a57 100644 --- a/sunrpc/svc_tcp.c +++ b/sunrpc/svc_tcp.c @@ -82,7 +82,7 @@ static const struct xp_ops svctcp_op = */ static bool_t rendezvous_request (SVCXPRT *, struct rpc_msg *); static enum xprt_stat rendezvous_stat (SVCXPRT *); -static void svctcp_rendezvous_abort (void); +static void svctcp_rendezvous_abort (void) __attribute__ ((__noreturn__)); /* This function makes sure abort() relocation goes through PLT and thus can be lazy bound. */ -- cgit v1.2.3