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/TCP_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/TCP_test.c')
-rw-r--r-- | auto_tests/TCP_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/TCP_test.c b/auto_tests/TCP_test.c index 3c5d56b9..fe699947 100644 --- a/auto_tests/TCP_test.c +++ b/auto_tests/TCP_test.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #define net_family_ipv6 net_family_ipv4 | 23 | #define net_family_ipv6 net_family_ipv4 |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | static inline IP get_loopback() | 26 | static inline IP get_loopback(void) |
27 | { | 27 | { |
28 | IP ip; | 28 | IP ip; |
29 | #if USE_IPV6 | 29 | #if USE_IPV6 |