summaryrefslogtreecommitdiffstats
path: root/minadbd/fdevent.h
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-18 19:44:35 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-02-18 19:44:36 +0100
commit37e933a7cef7f2df1693ff02d34042bc2f039301 (patch)
tree0e2117efa62822997d9ecfd6a7fbaed380b17547 /minadbd/fdevent.h
parentMerge "Fix Droid and animation color in recovery mode" (diff)
parentAdd extern "C" to all the headers. (diff)
downloadandroid_bootable_recovery-37e933a7cef7f2df1693ff02d34042bc2f039301.tar
android_bootable_recovery-37e933a7cef7f2df1693ff02d34042bc2f039301.tar.gz
android_bootable_recovery-37e933a7cef7f2df1693ff02d34042bc2f039301.tar.bz2
android_bootable_recovery-37e933a7cef7f2df1693ff02d34042bc2f039301.tar.lz
android_bootable_recovery-37e933a7cef7f2df1693ff02d34042bc2f039301.tar.xz
android_bootable_recovery-37e933a7cef7f2df1693ff02d34042bc2f039301.tar.zst
android_bootable_recovery-37e933a7cef7f2df1693ff02d34042bc2f039301.zip
Diffstat (limited to '')
-rw-r--r--minadbd/fdevent.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/minadbd/fdevent.h b/minadbd/fdevent.h
index a0ebe2a7e..38b08cce1 100644
--- a/minadbd/fdevent.h
+++ b/minadbd/fdevent.h
@@ -19,6 +19,10 @@
#include <stdint.h> /* for int64_t */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* events that may be observed */
#define FDE_READ 0x0001
#define FDE_WRITE 0x0002
@@ -79,5 +83,8 @@ struct fdevent
void *arg;
};
+#ifdef __cplusplus
+}
+#endif
#endif