Index: lib/tftp/include/lib/tftp.h |
diff --git a/lib/tftp/include/lib/tftp.h b/lib/tftp/include/lib/tftp.h |
index 0661e00d16d689a1267adef7e5ac7b2b30bad789..47bf42aa9e80746cc8a6f46e2adb3638f72d5dcc 100644 |
--- a/lib/tftp/include/lib/tftp.h |
+++ b/lib/tftp/include/lib/tftp.h |
@@ -23,9 +23,14 @@ |
#pragma once |
+#include <compiler.h> |
+ |
+__BEGIN_CDECLS |
+ |
typedef int (*tftp_callback_t)(void *data, size_t len, void *arg); |
int tftp_server_init(void *arg); |
int tftp_set_write_client(const char* file_name, tftp_callback_t cb, void* arg); |
+__END_CDECLS |