projects
/
madwifi
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix sparse warnings
[madwifi/.git]
/
tools
/
athkey.c
diff --git
a/tools/athkey.c
b/tools/athkey.c
index 023111453348697f129c717241509956df462987..daaa3cd2008d80e24518d09fae43b94711b5141d 100644
(file)
--- a/
tools/athkey.c
+++ b/
tools/athkey.c
@@
-63,7
+63,7
@@
static int s = -1;
static const char *progname;
static void
static const char *progname;
static void
-checksocket()
+checksocket(
void
)
{
if (s < 0 ? (s = socket(AF_INET, SOCK_DGRAM, 0)) == -1 : 0)
perror("socket(SOCK_DGRAM)");
{
if (s < 0 ? (s = socket(AF_INET, SOCK_DGRAM, 0)) == -1 : 0)
perror("socket(SOCK_DGRAM)");