mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Use (void)
for empty parameter lists in C.
Because `()` means "some unknown number of parameters".
This commit is contained in:
parent
08cc4184a1
commit
d9541d542c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user