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
/
athchans.c
diff --git
a/tools/athchans.c
b/tools/athchans.c
index fb2614b2c52d38685cb65e0606a62bfb6e387e93..c50165322f4fe59d35bc7ab14a89bf6b7b474e93 100644
(file)
--- a/
tools/athchans.c
+++ b/
tools/athchans.c
@@
-63,7
+63,7
@@
static int s = -1;
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)");