diff options
author | Andreas Jaeger <aj@suse.de> | 2001-12-21 10:16:16 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-12-21 10:16:16 +0000 |
commit | a49d0179dbc21bcdee7701d296b54e2215e0ed8b (patch) | |
tree | c40e8cfa7cea9448c9884651592bc7a2b6323455 /sunrpc | |
parent | 37de3d557bece4adb400601b684e234ad20bd42d (diff) | |
download | glibc-a49d0179dbc21bcdee7701d296b54e2215e0ed8b.tar.gz glibc-a49d0179dbc21bcdee7701d296b54e2215e0ed8b.tar.xz glibc-a49d0179dbc21bcdee7701d296b54e2215e0ed8b.zip |
* 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.
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/svc_tcp.c | 2 | ||||
-rw-r--r-- | sunrpc/svc_unix.c | 2 |
2 files changed, 2 insertions, 2 deletions
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. */ diff --git a/sunrpc/svc_unix.c b/sunrpc/svc_unix.c index 72bc9c2dda..763021f9a4 100644 --- a/sunrpc/svc_unix.c +++ b/sunrpc/svc_unix.c @@ -78,7 +78,7 @@ static const struct xp_ops svcunix_op = */ static bool_t rendezvous_request (SVCXPRT *, struct rpc_msg *); static enum xprt_stat rendezvous_stat (SVCXPRT *); -static void svcunix_rendezvous_abort (void); +static void svcunix_rendezvous_abort (void) __attribute__ ((__noreturn__)); /* This function makes sure abort() relocation goes through PLT and thus can be lazy bound. */ |