summaryrefslogtreecommitdiff
path: root/apps/include/netutils/tftp.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/include/netutils/tftp.h')
-rw-r--r--apps/include/netutils/tftp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/include/netutils/tftp.h b/apps/include/netutils/tftp.h
index 276073aad..2969fb700 100644
--- a/apps/include/netutils/tftp.h
+++ b/apps/include/netutils/tftp.h
@@ -57,13 +57,14 @@
#ifdef __cplusplus
#define EXTERN extern "C"
-extern "C" {
+extern "C"
+{
#else
#define EXTERN extern
#endif
-EXTERN int tftpget(const char *remote, const char *local, in_addr_t addr, bool binary);
-EXTERN int tftpput(const char *local, const char *remote, in_addr_t addr, bool binary);
+int tftpget(const char *remote, const char *local, in_addr_t addr, bool binary);
+int tftpput(const char *local, const char *remote, in_addr_t addr, bool binary);
#undef EXTERN
#ifdef __cplusplus