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
commit66585d56a941b15d95d15e21641e89d86bb6271b (patch)
treeabd033864b5125a2b04813d964abbc1336ace1cc /src/noise.h
parentdevice: only take reference if netns is different (diff)
downloadwireguard-linux-compat-66585d56a941b15d95d15e21641e89d86bb6271b.tar.xz
wireguard-linux-compat-66585d56a941b15d95d15e21641e89d86bb6271b.zip
global: get rid of useless forward declarations
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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);