diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-05 23:31:13 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-05 23:37:31 +0100 |
commit | 3a56fc6a0719d3e9003f8f8faceb95c678ec9c1c (patch) | |
tree | fc21d970a2b56d9b964ae5a0ea6159053a156c45 /src/hashtables.h | |
parent | tools: chill modern gcc out (diff) | |
download | wireguard-monolithic-historical-3a56fc6a0719d3e9003f8f8faceb95c678ec9c1c.tar.xz wireguard-monolithic-historical-3a56fc6a0719d3e9003f8f8faceb95c678ec9c1c.zip |
c89: the static keyword is okay in c99, but not in c89
Diffstat (limited to 'src/hashtables.h')
-rw-r--r-- | src/hashtables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashtables.h b/src/hashtables.h index b833e44..ebbb59b 100644 --- a/src/hashtables.h +++ b/src/hashtables.h @@ -20,7 +20,7 @@ struct pubkey_hashtable { void pubkey_hashtable_init(struct pubkey_hashtable *table); void pubkey_hashtable_add(struct pubkey_hashtable *table, struct wireguard_peer *peer); void pubkey_hashtable_remove(struct pubkey_hashtable *table, struct wireguard_peer *peer); -struct wireguard_peer *pubkey_hashtable_lookup(struct pubkey_hashtable *table, const uint8_t pubkey[static NOISE_PUBLIC_KEY_LEN]); +struct wireguard_peer *pubkey_hashtable_lookup(struct pubkey_hashtable *table, const uint8_t pubkey[NOISE_PUBLIC_KEY_LEN]); struct index_hashtable { DECLARE_HASHTABLE(hashtable, 10); |