diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-06-01 18:20:41 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-06-25 15:01:36 +0200 |
commit | 20b0acfacd61ffd608580ac53a11a387ba8a4ae5 (patch) | |
tree | db7f981e1303e6794a1b3ba99d211340c34e4de7 /src/journal/sd-journal.c | |
parent | journal-file: rename return parameters to ret_xyz (diff) | |
download | systemd-20b0acfacd61ffd608580ac53a11a387ba8a4ae5.tar.xz systemd-20b0acfacd61ffd608580ac53a11a387ba8a4ae5.zip |
journal: rename hash64() to jenkins_hash64()
Let's prefix this with "jenkins_" since it wraps the jenkins hash. We
want to add support for other hash functions to journald soon, hence
better be clear with what this is. In particular as all other symbols
defined by lookup3.h actually are prefixed "jenkins_".
Diffstat (limited to '')
-rw-r--r-- | src/journal/sd-journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index 7e958e9f43..5ddca5f93a 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -279,7 +279,7 @@ _public_ int sd_journal_add_match(sd_journal *j, const void *data, size_t size) assert(j->level1->type == MATCH_OR_TERM); assert(j->level2->type == MATCH_AND_TERM); - hash = hash64(data, size); + hash = jenkins_hash64(data, size); LIST_FOREACH(matches, l3, j->level2->matches) { assert(l3->type == MATCH_OR_TERM); |