aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/socket.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-27 03:43:04 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 17:25:23 +0100
commite3661abdcf846f8bd03a95828dbccb0fdf157e56 (patch)
tree173ccbcdb8531393a4ef16ec161fad6d528e869a /src/socket.h
parentdevice: only take reference if netns is different (diff)
downloadwireguard-monolithic-historical-e3661abdcf846f8bd03a95828dbccb0fdf157e56.tar.xz
wireguard-monolithic-historical-e3661abdcf846f8bd03a95828dbccb0fdf157e56.zip
global: get rid of useless forward declarations
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/socket.h b/src/socket.h
index 4f83926..843d544 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -8,9 +8,6 @@
#include <linux/if_vlan.h>
#include <linux/if_ether.h>
-struct wireguard_device;
-struct endpoint;
-
int socket_init(struct wireguard_device *wg);
void socket_uninit(struct wireguard_device *wg);
int socket_send_buffer_to_peer(struct wireguard_peer *peer, void *data, size_t len, u8 ds);