summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/sys/linker_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/sys/linker_set.h')
-rw-r--r--cpukit/libnetworking/sys/linker_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/sys/linker_set.h b/cpukit/libnetworking/sys/linker_set.h
index c79fe87f0b..a2354ed397 100644
--- a/cpukit/libnetworking/sys/linker_set.h
+++ b/cpukit/libnetworking/sys/linker_set.h
@@ -42,7 +42,7 @@
#ifdef __GNUC__
#define __MAKE_SET(set, sym) \
static void const * const __set_##set##_sym_##sym \
- __attribute((section("set_" #set))) __unused = &sym
+ __attribute((section("set_" #set))) __used = &sym
#else /* !__GNUC__ */
#ifndef lint
#error "This file needs to be compiled by GCC or lint"