summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorWolfram Sang2011-05-01 21:08:53 +0200
committerHarald Welte2011-05-02 09:11:35 +0200
commit85a89208ca0fc5b056b98bf79882929fb69d3913 (patch)
tree6ab37085d3bcddba9a459ef5c355ad843d87a4c5 /src/shared
parenttarget/firmware: make build less verbose like the rest of the tree (diff)
downloadosmocom-85a89208ca0fc5b056b98bf79882929fb69d3913.tar.gz
osmocom-85a89208ca0fc5b056b98bf79882929fb69d3913.tar.xz
osmocom-85a89208ca0fc5b056b98bf79882929fb69d3913.zip
linuxlist.h: silence a noisy warning
Fixes a couple of warnings like this: In file included from ../../shared/libosmocore/include/osmocom/core/msgb.h:24:0, from include/comm/sercomm.h:6, from apps/loader/main.c:41: ../../shared/libosmocore/include/osmocom/core/linuxlist.h: In function 'prefetch': ../../shared/libosmocore/include/osmocom/core/linuxlist.h:10:41: warning: unused parameter 'x' Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/libosmocore/include/osmocom/core/linuxlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/libosmocore/include/osmocom/core/linuxlist.h b/src/shared/libosmocore/include/osmocom/core/linuxlist.h
index fb99c5e..ff2c491 100644
--- a/src/shared/libosmocore/include/osmocom/core/linuxlist.h
+++ b/src/shared/libosmocore/include/osmocom/core/linuxlist.h
@@ -7,7 +7,7 @@
#define inline __inline__
#endif
-static inline void prefetch(const void *x) {;}
+static inline void prefetch(__attribute__((unused)) const void *x) {;}
/**
* container_of - cast a member of a structure out to the containing structure