diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-12 22:27:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-12 22:27:14 +0000 |
commit | 38d74a216830a14bae80baee0dcfc1cc0b35b794 (patch) | |
tree | 5ae1635c543fc3f890331b457e594915a42a795a /usr.sbin/tftpd/tftpd.c | |
parent | 61f9e0e1ea130875ae606dd841cace858c17c952 (diff) |
ensure there are prototypes
Diffstat (limited to 'usr.sbin/tftpd/tftpd.c')
-rw-r--r-- | usr.sbin/tftpd/tftpd.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/tftpd/tftpd.c b/usr.sbin/tftpd/tftpd.c index e210be15030..a480e16c9e6 100644 --- a/usr.sbin/tftpd/tftpd.c +++ b/usr.sbin/tftpd/tftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftpd.c,v 1.16 2013/08/13 12:39:02 dlg Exp $ */ +/* $OpenBSD: tftpd.c,v 1.17 2013/11/12 22:27:13 deraadt Exp $ */ /* * Copyright (c) 2012 David Gwynne <dlg@uq.edu.au> @@ -188,6 +188,10 @@ int parse_options(struct tftp_client *, char *, size_t, struct opt_client *); int validate_access(struct tftp_client *, const char *); +struct tftp_client * + client_alloc(void); +void client_free(struct tftp_client *client); + struct formats { const char *f_mode; int (*f_getc)(struct tftp_client *); @@ -561,7 +565,7 @@ tftpd_events(void) } struct tftp_client * -client_alloc() +client_alloc(void) { struct tftp_client *client; |