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. --- sysdeps/generic/strstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/generic/strstr.c') diff --git a/sysdeps/generic/strstr.c b/sysdeps/generic/strstr.c index ff295e0635..e7e14e498d 100644 --- a/sysdeps/generic/strstr.c +++ b/sysdeps/generic/strstr.c @@ -49,7 +49,7 @@ strstr (phaystack, pneedle) haystack = (const unsigned char *) phaystack; - if (b = *(needle = (const unsigned char *) pneedle)) + if ((b = *(needle = (const unsigned char *) pneedle))) { chartype c; haystack--; /* possible ANSI violation */ -- cgit v1.2.3