summaryrefslogtreecommitdiff
path: root/ot_udp.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-04-13 17:35:29 +0200
committerDirk Engling <erdgeist@erdgeist.org>2026-04-13 17:35:29 +0200
commitb0a0432e8d26414d77cfeb81ab2e6c10896c6883 (patch)
tree0adec918eedb6712c82eb62ac9239519eeab941a /ot_udp.c
parent5d2033ac8932d223a00d7d6e29cedd9b2e23bc7f (diff)
Silence warnings about function declaration without a prototype for functions taking void
Diffstat (limited to 'ot_udp.c')
-rw-r--r--ot_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_udp.c b/ot_udp.c
index 97ccd38..990868c 100644
--- a/ot_udp.c
+++ b/ot_udp.c
@@ -28,7 +28,7 @@ static uint32_t g_rijndael_round_key[44] = {0};
28static uint32_t g_key_of_the_hour[2] = {0}; 28static uint32_t g_key_of_the_hour[2] = {0};
29static ot_time g_hour_of_the_key; 29static ot_time g_hour_of_the_key;
30 30
31static void udp_generate_rijndael_round_key() { 31static void udp_generate_rijndael_round_key(void) {
32 uint32_t key[16]; 32 uint32_t key[16];
33#ifdef WANT_ARC4RANDOM 33#ifdef WANT_ARC4RANDOM
34 arc4random_buf(&key[0], sizeof(key)); 34 arc4random_buf(&key[0], sizeof(key));