summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2005-10-25 06:51:38 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2005-10-25 06:51:38 +0000
commit5abe2b63b7df42b3489de97846818c9867dd84cd (patch)
tree4fc80f201c51454164e806cba0195957656b4222
parentae19666a908bfd9247478487109112c3317efb0f (diff)
Make set_common_sockopts() a void since it doesn't return anything anyway.
Makes netcat -Wall clean. ok djm@
-rw-r--r--usr.bin/nc/netcat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c
index fde125641c1..c0cb262336f 100644
--- a/usr.bin/nc/netcat.c
+++ b/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netcat.c,v 1.83 2005/10/25 03:51:06 dtucker Exp $ */
+/* $OpenBSD: netcat.c,v 1.84 2005/10/25 06:51:37 dtucker Exp $ */
/*
* Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
*
@@ -96,7 +96,7 @@ int socks_connect(const char *, const char *, struct addrinfo, const char *, con
int udptest(int);
int unix_connect(char *);
int unix_listen(char *);
-int set_common_sockopts(int);
+void set_common_sockopts(int);
int parse_iptos(char *);
void usage(int);
@@ -759,7 +759,7 @@ udptest(int s)
return (ret);
}
-int
+void
set_common_sockopts(int s)
{
int x = 1;