diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-25 21:11:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-25 21:11:26 +0000 |
commit | 050c7e8a628282e2ab453bedf3d05f9d9bb7e488 (patch) | |
tree | cb48f586e879393fcfa3bcb4618385cd2660ca89 /libexec/tftpd | |
parent | 9492ac81c03196dcb3cc04a5cf2730b2b4cfc9ed (diff) |
protos
Diffstat (limited to 'libexec/tftpd')
-rw-r--r-- | libexec/tftpd/tftpd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libexec/tftpd/tftpd.c b/libexec/tftpd/tftpd.c index d8ab453c8a5..a25d898e86f 100644 --- a/libexec/tftpd/tftpd.c +++ b/libexec/tftpd/tftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftpd.c,v 1.27 2003/06/02 19:38:25 millert Exp $ */ +/* $OpenBSD: tftpd.c,v 1.28 2003/06/25 21:11:25 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -37,7 +37,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)tftpd.c 5.13 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$OpenBSD: tftpd.c,v 1.27 2003/06/02 19:38:25 millert Exp $"; +static char rcsid[] = "$OpenBSD: tftpd.c,v 1.28 2003/06/25 21:11:25 deraadt Exp $"; #endif /* not lint */ /* @@ -95,9 +95,9 @@ int sendfile(struct formats *pf); struct formats { char *f_mode; - int (*f_validate)(); - int (*f_send)(); - int (*f_recv)(); + int (*f_validate)(char *, int); + int (*f_send)(struct formats *); + int (*f_recv)(struct formats *); int f_convert; } formats[] = { { "netascii", validate_access, sendfile, recvfile, 1 }, @@ -420,7 +420,7 @@ timer(int signo) int sendfile(struct formats *pf) { - struct tftphdr *dp, *r_init(); + struct tftphdr *dp, *r_init(void); struct tftphdr *ap; /* ack packet */ volatile unsigned short block = 1; int size, n; @@ -491,7 +491,7 @@ justquit(int signo) int recvfile(struct formats *pf) { - struct tftphdr *dp, *w_init(); + struct tftphdr *dp, *w_init(void); struct tftphdr *ap; /* ack buffer */ volatile unsigned short block = 0; int n, size; |