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/journal-file.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 'src/journal/journal-file.c')
-rw-r--r-- | src/journal/journal-file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index 9efd08d937..c77a9436e6 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -1344,7 +1344,7 @@ int journal_file_find_field_object( assert(f); assert(field && size > 0); - hash = hash64(field, size); + hash = jenkins_hash64(field, size); return journal_file_find_field_object_with_hash( f, @@ -1451,7 +1451,7 @@ int journal_file_find_data_object( assert(f); assert(data || size == 0); - hash = hash64(data, size); + hash = jenkins_hash64(data, size); return journal_file_find_data_object_with_hash( f, @@ -1472,7 +1472,7 @@ static int journal_file_append_field( assert(f); assert(field && size > 0); - hash = hash64(field, size); + hash = jenkins_hash64(field, size); r = journal_file_find_field_object_with_hash(f, field, size, hash, &o, &p); if (r < 0) @@ -1535,7 +1535,7 @@ static int journal_file_append_data( assert(f); assert(data || size == 0); - hash = hash64(data, size); + hash = jenkins_hash64(data, size); r = journal_file_find_data_object_with_hash(f, data, size, hash, &o, &p); if (r < 0) |