summaryrefslogtreecommitdiffstatshomepage
path: root/src/peer.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-11-05 23:31:13 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-05 23:37:31 +0100
commit88752e06441b212029fe8d9fcc3c605ddbc1586d (patch)
tree0935c1ffc3b413f5d6db54189b9d102a5008d306 /src/peer.h
parentqemu: fail if module selftests fail (diff)
downloadwireguard-linux-compat-88752e06441b212029fe8d9fcc3c605ddbc1586d.tar.xz
wireguard-linux-compat-88752e06441b212029fe8d9fcc3c605ddbc1586d.zip
c89: the static keyword is okay in c99, but not in c89
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peer.h b/src/peer.h
index 466946b..f68d7f0 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -42,7 +42,7 @@ struct wireguard_peer {
uint64_t internal_id;
};
-struct wireguard_peer *peer_create(struct wireguard_device *wg, const u8 public_key[static NOISE_PUBLIC_KEY_LEN]);
+struct wireguard_peer *peer_create(struct wireguard_device *wg, const u8 public_key[NOISE_PUBLIC_KEY_LEN]);
struct wireguard_peer *peer_get(struct wireguard_peer *peer);
struct wireguard_peer *peer_rcu_get(struct wireguard_peer *peer);