aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/noise.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/noise.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/noise.h')
-rw-r--r--src/noise.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/noise.h b/src/noise.h
index f696c57..01026a4 100644
--- a/src/noise.h
+++ b/src/noise.h
@@ -92,13 +92,7 @@ struct noise_handshake {
struct rw_semaphore lock;
};
-struct wireguard_peer;
struct wireguard_device;
-struct message_header;
-struct message_handshake_initiation;
-struct message_handshake_response;
-struct message_data;
-struct message_handshake_cookie;
void noise_init(void);
bool noise_handshake_init(struct noise_handshake *handshake, struct noise_static_identity *static_identity, const u8 peer_public_key[NOISE_PUBLIC_KEY_LEN], const u8 peer_preshared_key[NOISE_SYMMETRIC_KEY_LEN], struct wireguard_peer *peer);