aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/containers.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-02-17 19:39:26 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-02-17 20:15:49 +0100
commitb0257234608d765c92530d73b096d5a83dbc40d8 (patch)
tree107d3fed3908c61d15f86a0d704fcdd097388a98 /src/tools/containers.h
parenttools: FreeBSD doesn't have EAI_NODATA (diff)
downloadwireguard-monolithic-historical-b0257234608d765c92530d73b096d5a83dbc40d8.tar.xz
wireguard-monolithic-historical-b0257234608d765c92530d73b096d5a83dbc40d8.zip
tools: fixup errno handling
Diffstat (limited to 'src/tools/containers.h')
-rw-r--r--src/tools/containers.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tools/containers.h b/src/tools/containers.h
index 8294ec7..a23da1c 100644
--- a/src/tools/containers.h
+++ b/src/tools/containers.h
@@ -78,7 +78,6 @@ struct wgdevice {
#define for_each_wgpeer(__dev, __peer) for ((__peer) = (__dev)->first_peer; (__peer); (__peer) = (__peer)->next_peer)
#define for_each_wgallowedip(__peer, __allowedip) for ((__allowedip) = (__peer)->first_allowedip; (__allowedip); (__allowedip) = (__allowedip)->next_allowedip)
-#define max(a, b) ((a) > (b) ? (a) : (b))
static inline void free_wgdevice(struct wgdevice *dev)
{