Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Unified Diff: lib/tftp/include/lib/tftp.h

Issue 1490333006: [lib][tftp] add CDECL to header. (Closed) Base URL: https://github.com/travisg/lk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698