summaryrefslogtreecommitdiffstats
path: root/minadbd/fdevent.h
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-18 23:57:06 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-18 23:57:06 +0100
commitecb0ad25c6be87570f31b652c24ff7f17a93813f (patch)
tree5cfb9d0bb8f07baf70bcc0094a19c232434f239a /minadbd/fdevent.h
parentam ff934d02: Merge "Fix Droid and animation color in recovery mode" (diff)
parentMerge "Add extern "C" to all the headers." (diff)
downloadandroid_bootable_recovery-ecb0ad25c6be87570f31b652c24ff7f17a93813f.tar
android_bootable_recovery-ecb0ad25c6be87570f31b652c24ff7f17a93813f.tar.gz
android_bootable_recovery-ecb0ad25c6be87570f31b652c24ff7f17a93813f.tar.bz2
android_bootable_recovery-ecb0ad25c6be87570f31b652c24ff7f17a93813f.tar.lz
android_bootable_recovery-ecb0ad25c6be87570f31b652c24ff7f17a93813f.tar.xz
android_bootable_recovery-ecb0ad25c6be87570f31b652c24ff7f17a93813f.tar.zst
android_bootable_recovery-ecb0ad25c6be87570f31b652c24ff7f17a93813f.zip
Diffstat (limited to 'minadbd/fdevent.h')
-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