chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: deal with duplicate values from enumerators
[elogind.git]
/
src
/
libsystemd-bus
/
bus-bloom.c
diff --git
a/src/libsystemd-bus/bus-bloom.c
b/src/libsystemd-bus/bus-bloom.c
index 04bee8581ea2e96a9f3f33c51c8c8f3a6feb3200..c3ad9f6385eb87f9aefd886bc037b6e28255ef06 100644
(file)
--- 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;