aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/sshnetcat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/sshnetcat.c b/examples/sshnetcat.c
index 8ac5a212..28fb2765 100644
--- a/examples/sshnetcat.c
+++ b/examples/sshnetcat.c
@@ -43,7 +43,8 @@ const char *port="22";
char *pcap_file=NULL;
#endif
-static void usage(){
+static void usage(void)
+{
fprintf(stderr,"Usage : sshnetcat [user@]host forwarded_host forwarded_port\n");
exit(1);
}