diff options
author | dim <dim@FreeBSD.org> | 2014-01-04 17:36:13 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-01-04 17:36:13 +0000 |
commit | dfba73dcd142f9eb5928d487e2792d59657a5708 (patch) | |
tree | 9c2754aa2df9daf5d1df4dd4aba1567ee8da534e | |
parent | 110965f5aed5aa49109c32013b343545f33c1aac (diff) | |
download | FreeBSD-src-dfba73dcd142f9eb5928d487e2792d59657a5708.zip FreeBSD-src-dfba73dcd142f9eb5928d487e2792d59657a5708.tar.gz |
MFC r260017:
Mark unused static inline functions defined by the PCTRIE_DEFINE() macro
as __unused, so warnings about them are avoided.
-rw-r--r-- | sys/sys/pctrie.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/pctrie.h b/sys/sys/pctrie.h index 2a912fd..f736877 100644 --- a/sys/sys/pctrie.h +++ b/sys/sys/pctrie.h @@ -83,14 +83,14 @@ name##_PCTRIE_LOOKUP_LE(struct pctrie *ptree, uint64_t key) \ return name##_PCTRIE_VAL2PTR(pctrie_lookup_le(ptree, key)); \ } \ \ -static __inline struct type * \ +static __inline __unused struct type * \ name##_PCTRIE_LOOKUP_GE(struct pctrie *ptree, uint64_t key) \ { \ \ return name##_PCTRIE_VAL2PTR(pctrie_lookup_ge(ptree, key)); \ } \ \ -static __inline void \ +static __inline __unused void \ name##_PCTRIE_RECLAIM(struct pctrie *ptree) \ { \ \ |