diff options
Diffstat (limited to 'src/libsystemd-bus')
-rw-r--r-- | src/libsystemd-bus/bus-bloom.c | 2 | ||||
-rw-r--r-- | src/libsystemd-bus/bus-bloom.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-bloom.c b/src/libsystemd-bus/bus-bloom.c index 04bee8581e..c3ad9f6385 100644 --- a/src/libsystemd-bus/bus-bloom.c +++ b/src/libsystemd-bus/bus-bloom.c @@ -28,7 +28,7 @@ static inline void set_bit(uint64_t filter[], unsigned b) { filter[b >> 6] |= 1ULL << (b & 63); } -void bloom_add_data(uint64_t filter[BLOOM_SIZE/8], const void *data, size_t n) { +static void bloom_add_data(uint64_t filter[BLOOM_SIZE/8], const void *data, size_t n) { uint16_t hash[8]; unsigned k = 0; diff --git a/src/libsystemd-bus/bus-bloom.h b/src/libsystemd-bus/bus-bloom.h index 1bf14a3331..422eb4e01a 100644 --- a/src/libsystemd-bus/bus-bloom.h +++ b/src/libsystemd-bus/bus-bloom.h @@ -25,6 +25,5 @@ #define BLOOM_SIZE 64 -void bloom_add_data(uint64_t filter[BLOOM_SIZE/8], const void *data, size_t n); void bloom_add_pair(uint64_t filter[BLOOM_SIZE/8], const char *a, const char *b); void bloom_add_prefixes(uint64_t filter[BLOOM_SIZE/8], const char *a, const char *b, char sep); |