about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-12-21 10:16:16 +0000
committerAndreas Jaeger <aj@suse.de>2001-12-21 10:16:16 +0000
commita49d0179dbc21bcdee7701d296b54e2215e0ed8b (patch)
treec40e8cfa7cea9448c9884651592bc7a2b6323455 /sysdeps
parent37de3d557bece4adb400601b684e234ad20bd42d (diff)
downloadglibc-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 'sysdeps')
-rw-r--r--sysdeps/generic/strstr.c2
1 files changed, 1 insertions, 1 deletions
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 */