summaryrefslogtreecommitdiffstats
path: root/minadbd/adb.h
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-19 00:04:29 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-19 00:04:29 +0100
commite1119d5e92bc186de797d64a5c4ff8cc7a8f3c74 (patch)
treebd37874110062036781167499a93c0d2e178b511 /minadbd/adb.h
parentInitialize stashbase even stash_max_blocks = 0 (diff)
parentam 37e933a7: Merge "Add extern "C" to all the headers." (diff)
downloadandroid_bootable_recovery-e1119d5e92bc186de797d64a5c4ff8cc7a8f3c74.tar
android_bootable_recovery-e1119d5e92bc186de797d64a5c4ff8cc7a8f3c74.tar.gz
android_bootable_recovery-e1119d5e92bc186de797d64a5c4ff8cc7a8f3c74.tar.bz2
android_bootable_recovery-e1119d5e92bc186de797d64a5c4ff8cc7a8f3c74.tar.lz
android_bootable_recovery-e1119d5e92bc186de797d64a5c4ff8cc7a8f3c74.tar.xz
android_bootable_recovery-e1119d5e92bc186de797d64a5c4ff8cc7a8f3c74.tar.zst
android_bootable_recovery-e1119d5e92bc186de797d64a5c4ff8cc7a8f3c74.zip
Diffstat (limited to 'minadbd/adb.h')
-rw-r--r--minadbd/adb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/minadbd/adb.h b/minadbd/adb.h
index 714868f5c..010a36485 100644
--- a/minadbd/adb.h
+++ b/minadbd/adb.h
@@ -22,6 +22,10 @@
#include "transport.h" /* readx(), writex() */
#include "fdevent.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define MAX_PAYLOAD 4096
#define A_SYNC 0x434e5953
@@ -421,4 +425,8 @@ extern int SHELL_EXIT_NOTIFY_FD;
int sendfailmsg(int fd, const char *reason);
int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s);
+#ifdef __cplusplus
+}
+#endif
+
#endif