diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-28 21:31:58 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-28 21:31:58 +0000 |
commit | c321b45ec21e34c690c63c677c0222b563892b13 (patch) | |
tree | bde20e34f3ac0c60e76f9562156bf57d711092e7 /sys/sys/pctrie.h | |
parent | 5ddae1557d0afa2de6ddb848690d34eed909f4b7 (diff) | |
download | src-c321b45ec21e34c690c63c677c0222b563892b13.tar.gz src-c321b45ec21e34c690c63c677c0222b563892b13.zip |
Mark unused static inline functions defined by the PCTRIE_DEFINE() macro
as __unused, so warnings about them are avoided.
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=260017
Diffstat (limited to 'sys/sys/pctrie.h')
-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 2a912fdfcda5..f736877cc2b4 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) \ { \ \ |