about summary refs log tree commit diff
path: root/elf/dl-conflict.c
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 /elf/dl-conflict.c
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 'elf/dl-conflict.c')
-rw-r--r--elf/dl-conflict.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/dl-conflict.c b/elf/dl-conflict.c
index 5426a5ad44..f4c20eaad0 100644
--- a/elf/dl-conflict.c
+++ b/elf/dl-conflict.c
@@ -54,7 +54,9 @@ do								\
     (map) = resolve_conflict_map;				\
   } while (0)
 
-    struct link_map *resolve_conflict_map = _dl_loaded;
+    struct link_map *resolve_conflict_map __attribute__ ((__unused__))
+      = _dl_loaded;
+    
 
 #include "dynamic-link.h"