Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use (void) for empty parameter lists in C. #1150

Merged
merged 1 commit into from Sep 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion auto_tests/TCP_test.c
Expand Up @@ -23,7 +23,7 @@
#define net_family_ipv6 net_family_ipv4
#endif

static inline IP get_loopback()
static inline IP get_loopback(void)
{
IP ip;
#if USE_IPV6
Expand Down
2 changes: 1 addition & 1 deletion auto_tests/dht_test.c
Expand Up @@ -19,7 +19,7 @@ static bool enable_broken_tests = false;
#define USE_IPV6 1
#endif

static inline IP get_loopback()
static inline IP get_loopback(void)
{
IP ip;
#if USE_IPV6
Expand Down
2 changes: 1 addition & 1 deletion auto_tests/onion_test.c
Expand Up @@ -17,7 +17,7 @@
#define USE_IPV6 1
#endif

static inline IP get_loopback()
static inline IP get_loopback(void)
{
IP ip;
#if USE_IPV6
Expand Down