diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-09-08 07:29:03 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-09-08 10:59:30 +0000 |
commit | d9541d542cae6838114123c8baa19e26f980e575 (patch) | |
tree | 070431348335554c5696c152651fab183763d2d9 /auto_tests/dht_test.c | |
parent | 08cc4184a167759e7dd7dcd334003d6257241a45 (diff) |
Use `(void)` for empty parameter lists in C.
Because `()` means "some unknown number of parameters".
Diffstat (limited to 'auto_tests/dht_test.c')
-rw-r--r-- | auto_tests/dht_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/dht_test.c b/auto_tests/dht_test.c index f9c09dd5..c8aaa18c 100644 --- a/auto_tests/dht_test.c +++ b/auto_tests/dht_test.c | |||
@@ -19,7 +19,7 @@ static bool enable_broken_tests = false; | |||
19 | #define USE_IPV6 1 | 19 | #define USE_IPV6 1 |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | static inline IP get_loopback() | 22 | static inline IP get_loopback(void) |
23 | { | 23 | { |
24 | IP ip; | 24 | IP ip; |
25 | #if USE_IPV6 | 25 | #if USE_IPV6 |