]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/siphash24.c
util: make siphash24_compress_boolean() inline
[thirdparty/systemd.git] / src / basic / siphash24.c
index 666431aa31fd0592bd4cb9ed72d01803b6d911fc..61180819b1bf0f995cddb9ca2ee9f02e1be9bb28 100644 (file)
@@ -151,12 +151,6 @@ void siphash24_compress(const void *_in, size_t inlen, struct siphash *state) {
         }
 }
 
-void siphash24_compress_boolean(bool in, struct siphash *state) {
-        int i = in;
-
-        siphash24_compress(&i, sizeof i, state);
-}
-
 uint64_t siphash24_finalize(struct siphash *state) {
         uint64_t b;