aboutgitcodebugslistschat
path: root/dhcp.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-05 21:15:01 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-05 21:22:59 +0200
commit16f4b983de5509660f470992f3ce8e5cd1d59c3b (patch)
tree9c1bbda04a8b406a40389c2c37537fd0e48b08b1 /dhcp.h
parenta26722b8755d36acc17e787399ac085a02a2e3bd (diff)
downloadpasst-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhcp.h b/dhcp.h
index c4fbfe5..59ec10a 100644
--- a/dhcp.h
+++ b/dhcp.h
@@ -1 +1,2 @@
int dhcp(struct ctx *c, struct ethhdr *eh, size_t len);
+void dhcp_init(void);