diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-16 01:03:21 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-16 03:28:38 +0200 |
commit | 690642c42e1e3faccc0d6015c2cfc928a2696f2d (patch) | |
tree | 2e59dd8124dc9e4ba1e04f91acf9812cbc306d9b /src/hashtables.c | |
parent | 611b057736d735b1e15a54e4781c8ce2c6a5c2ab (diff) |
global: remove non-essential inline annotations
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/hashtables.c')
-rw-r--r-- | src/hashtables.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hashtables.c b/src/hashtables.c index 4ba2288..5aaebb6 100644 --- a/src/hashtables.c +++ b/src/hashtables.c @@ -7,7 +7,7 @@ #include "peer.h" #include "noise.h" -static inline struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table, +static struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table, const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) { /* siphash gives us a secure 64bit number based on a random key. Since @@ -64,8 +64,8 @@ pubkey_hashtable_lookup(struct pubkey_hashtable *table, return peer; } -static inline struct hlist_head *index_bucket(struct index_hashtable *table, - const __le32 index) +static struct hlist_head *index_bucket(struct index_hashtable *table, + const __le32 index) { /* Since the indices are random and thus all bits are uniformly * distributed, we can find its bucket simply by masking. |