about summary refs log tree commit diff
path: root/debug/warning-nop.c
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2014-12-10 13:46:28 -0800
committerSteve Ellcey <sellcey@mips.com>2014-12-10 13:46:28 -0800
commit48c43298bf8490444fe2d36646a6fc4eb489c323 (patch)
tree85bbd9d2428859637f8c9008befd4f0253ce6219 /debug/warning-nop.c
parentc153ac9f1b6302a6e778f1480ca5ff593be245c5 (diff)
downloadglibc-48c43298bf8490444fe2d36646a6fc4eb489c323.tar.gz
glibc-48c43298bf8490444fe2d36646a6fc4eb489c323.tar.xz
glibc-48c43298bf8490444fe2d36646a6fc4eb489c323.zip
2014-12-10 Steve Ellcey <sellcey@imgtec.com>
	* debug/warning-nop.c: Add used atrribute.
Diffstat (limited to 'debug/warning-nop.c')
-rw-r--r--debug/warning-nop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/warning-nop.c b/debug/warning-nop.c
index 2a16f2791e..2064310c86 100644
--- a/debug/warning-nop.c
+++ b/debug/warning-nop.c
@@ -36,6 +36,7 @@
 #include <sys/cdefs.h>
 
 static void
+__attribute__ ((used))
 nop (void)
 {
 }