diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-09-28 11:20:58 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-09-30 12:40:46 +0200 |
commit | fcec3f6f9dc6b0643b98217f2764945a5d33840c (patch) | |
tree | 3ee090c91601f399e37d71294822a8b768258fb7 /log.c | |
parent | 5cc843521dee0a7da86093eb32a66f3f082da458 (diff) | |
download | passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar.gz passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar.bz2 passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar.lz passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar.xz passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar.zst passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.zip |
siphash: Use more hygienic state initialiser
The PREAMBLE macro sets up the SipHash initial internal state. It also
defines that state as a variable, which isn't macro hygeinic. With
previous changes simplifying this premable, it's now possible to replace it
with a macro which simply expands to a C initialisedrfor that state.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'log.c')
0 files changed, 0 insertions, 0 deletions