From 0bd66b86ba18fed2660274c1df66cce088d8b2d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Tue, 24 Dec 2013 09:34:26 +0000 Subject: [PATCH] fixed function prototypes --- include/tftp.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/include/tftp.h b/include/tftp.h index 0110cf8..d9b98b5 100644 --- a/include/tftp.h +++ b/include/tftp.h @@ -40,7 +40,6 @@ /* Number of TFTP Data Buffers */ #define NUM_TFTPBD 6 -/********************************************************************/ /* Data Buffer Pointer Structure */ typedef struct @@ -145,14 +144,11 @@ typedef struct } TFTP_Connection; -/********************************************************************/ +extern void tftp_handler(NIF *, NBUF *) ; +extern int tftp_write (NIF *, char *, IP_ADDR_P, uint32_t, uint32_t); +extern int tftp_read(NIF *, char *, IP_ADDR_P); +extern void tftp_end(int); +extern int tftp_in_char(void); -void tftp_handler(NIF *, NBUF *) ; -int tftp_write (NIF *, char *, IP_ADDR_P, uint32_t, uint32_t); -int tftp_read(NIF *, char *, IP_ADDR_P); -void tftp_end(int); -int tftp_in_char(void); - -/********************************************************************/ #endif /* _TFTP_H_ */