summaryrefslogtreecommitdiffstats
path: root/usr.bin/tftp/main.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-25 21:08:59 +0000
committerderaadt <deraadt@openbsd.org>2003-06-25 21:08:59 +0000
commit74637cb20ab7a2e4876ccd7d35080bab410e65b8 (patch)
tree71d33f3c0222dbb51017370952a583d5030b318b /usr.bin/tftp/main.c
parentproto getgrgid_r and getgrnam_r (diff)
downloadwireguard-openbsd-74637cb20ab7a2e4876ccd7d35080bab410e65b8.tar.xz
wireguard-openbsd-74637cb20ab7a2e4876ccd7d35080bab410e65b8.zip
protos
Diffstat (limited to 'usr.bin/tftp/main.c')
-rw-r--r--usr.bin/tftp/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c
index db8c273732a..45f06c6fbf7 100644
--- a/usr.bin/tftp/main.c
+++ b/usr.bin/tftp/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.15 2003/06/25 15:45:10 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.16 2003/06/25 21:09:37 deraadt Exp $ */
/* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */
/*
@@ -40,7 +40,7 @@ static const char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] = "$OpenBSD: main.c,v 1.15 2003/06/25 15:45:10 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: main.c,v 1.16 2003/06/25 21:09:37 deraadt Exp $";
#endif /* not lint */
/* Many bug fixes are from Jim Guyton <guyton@rand-unix> */
@@ -85,7 +85,7 @@ int margc;
char *margv[MAXARGV+1];
char *prompt = "tftp";
jmp_buf toplevel;
-void intr();
+void intr(int);
struct servent *sp;
void get(int, char **);
@@ -539,7 +539,7 @@ status(int argc, char *argv[])
}
void
-intr(void)
+intr(int signo)
{
signal(SIGALRM, SIG_IGN);