summary refs log tree commit diff
path: root/libc-symbols.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-06-14 17:15:57 +0000
committerRoland McGrath <roland@gnu.org>1995-06-14 17:15:57 +0000
commitd6e2f671f716a25188d83350fa517ae9ea29f70f (patch)
tree174344177defa77e2bbdc3f172ee33e03a933d5f /libc-symbols.h
parent5e75b23212343257fda8bea933521b0b7c5cdef6 (diff)
downloadglibc-d6e2f671f716a25188d83350fa517ae9ea29f70f.tar.gz
glibc-d6e2f671f716a25188d83350fa517ae9ea29f70f.tar.xz
glibc-d6e2f671f716a25188d83350fa517ae9ea29f70f.zip
Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* stdio/stdio.h (__validfp): Use ({...}) rather than a comma
 	expression, to avoid gcc's "value computed is not used" warning.

	* libc-symbols.h (_elf_set_element): Give the set-element variable
 	an `unused' attribute.

	* hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with
 	__attribute__ ((__const__)).
	* hurd/hurd/signal.h (_hurd_self_sigstate): Likewise.

	* hurd/hurd/userlink.h (_hurd_userlink_link): Properly set
 	LINK->resource.next->resource.prevp when appropriate, not
 	LINK->resource.next->thread.prevp!!!
Diffstat (limited to 'libc-symbols.h')
-rw-r--r--libc-symbols.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc-symbols.h b/libc-symbols.h
index 1782737c93..f4d82a6e72 100644
--- a/libc-symbols.h
+++ b/libc-symbols.h
@@ -181,11 +181,11 @@ Cambridge, MA 02139, USA.  */
    because it will need to be relocated at run time anyway.  */
 #define _elf_set_element(set, symbol) \
   static const void *__elf_set_##set##_element_##symbol##__ \
-    __attribute__ ((section (#set))) = &(symbol)
+    __attribute__ ((unused, section (#set))) = &(symbol)
 #else
 #define _elf_set_element(set, symbol) \
   static const void *const __elf_set_##set##_element_##symbol##__ \
-    __attribute__ ((section (#set))) = &(symbol)
+    __attribute__ ((unused, section (#set))) = &(symbol)
 #endif
 
 /* Define SET as a symbol set.  This may be required (it is in a.out) to