diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-05 21:15:01 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-05 21:22:59 +0200 |
commit | 16f4b983de5509660f470992f3ce8e5cd1d59c3b (patch) | |
tree | 9c1bbda04a8b406a40389c2c37537fd0e48b08b1 /dhcp.h | |
parent | a26722b8755d36acc17e787399ac085a02a2e3bd (diff) | |
download | passt-16f4b983de5509660f470992f3ce8e5cd1d59c3b.tar passt-16f4b983de5509660f470992f3ce8e5cd1d59c3b.tar.gz passt-16f4b983de5509660f470992f3ce8e5cd1d59c3b.tar.bz2 passt-16f4b983de5509660f470992f3ce8e5cd1d59c3b.tar.lz passt-16f4b983de5509660f470992f3ce8e5cd1d59c3b.tar.xz passt-16f4b983de5509660f470992f3ce8e5cd1d59c3b.tar.zst passt-16f4b983de5509660f470992f3ce8e5cd1d59c3b.zip |
passt: Shrink binary size by dropping static initialisers
...from 11MiB to 155KiB for 'make avx2', 95KiB with -Os and stripped.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'dhcp.h')
-rw-r--r-- | dhcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1 +1,2 @@ int dhcp(struct ctx *c, struct ethhdr *eh, size_t len); +void dhcp_init(void); |