]> git.kaiwu.me - klib.git/commit
Prevent unused function warnings in khash.h, klist.h
authorJohn Marshall <jm18@sanger.ac.uk>
Tue, 24 Mar 2015 09:37:12 +0000 (09:37 +0000)
committerJohn Marshall <jm18@sanger.ac.uk>
Thu, 23 Jul 2015 10:31:17 +0000 (11:31 +0100)
commit3bef4979d2a711234de5f27328b8a8a71746f904
tree2251f389920fff3bb8fb0a830b0e0502f28fda97
parentc5c637a3a98f64ee0c91186b2c2e3a79425f8d9a
Prevent unused function warnings in khash.h, klist.h

Recent versions of Clang warn about unused static inline functions
in .c files (though they suppress this warning for such definitions
in header files).  Definitions via KHASH_INIT etc are effectively in
the .c file, and it's impractical to make these inline other than
static inline; so add attributes to suppress these warnings.
khash.h
klist.h