diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-02-03 16:52:29 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-02-03 18:17:27 +0100 |
commit | ef117a91d1aa3caf02f89d0a824fee80a8f88b88 (patch) | |
tree | 4c5ec496f53b0e54f3555160d4503af5f4a60bdc /src/fuzz/setconf.c | |
parent | embeddable-wg-library: use newer string_list (diff) | |
download | wireguard-tools-ef117a91d1aa3caf02f89d0a824fee80a8f88b88.tar.xz wireguard-tools-ef117a91d1aa3caf02f89d0a824fee80a8f88b88.zip |
netlink: remove libmnl requirement
It turns out that the binary actually gets smaller if we simply inline
the very small parts of libmnl that we need. Since we wind up needing
the mnlg bits anyway, there's little benefit in linking to libmnl.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/fuzz/setconf.c')
-rw-r--r-- | src/fuzz/setconf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fuzz/setconf.c b/src/fuzz/setconf.c index 44bfeb9..1f2bd75 100644 --- a/src/fuzz/setconf.c +++ b/src/fuzz/setconf.c @@ -13,7 +13,6 @@ #undef parse_allowedips #include "../encoding.c" #include "../config.c" -#include "../mnlg.c" static FILE *hacked_fopen(const char *pathname, const char *mode); #define fopen hacked_fopen #include "../setconf.c" |