summaryrefslogtreecommitdiff
path: root/usr.bin/tftp
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 21:11:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 21:11:26 +0000
commit050c7e8a628282e2ab453bedf3d05f9d9bb7e488 (patch)
treecb48f586e879393fcfa3bcb4618385cd2660ca89 /usr.bin/tftp
parent9492ac81c03196dcb3cc04a5cf2730b2b4cfc9ed (diff)
protos
Diffstat (limited to 'usr.bin/tftp')
-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);