diff options
author | Dan Albert <danalbert@google.com> | 2015-02-18 10:21:54 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-02-18 10:21:54 -0800 |
commit | d808d2194f7a71309545bfcf111e874fb97bfd6b (patch) | |
tree | 0e2117efa62822997d9ecfd6a7fbaed380b17547 /minadbd/fdevent.h | |
parent | ff934d0257909e9c5420815547a6e2ff89455314 (diff) | |
download | bootable_recovery-d808d2194f7a71309545bfcf111e874fb97bfd6b.zip bootable_recovery-d808d2194f7a71309545bfcf111e874fb97bfd6b.tar.gz bootable_recovery-d808d2194f7a71309545bfcf111e874fb97bfd6b.tar.bz2 |
Add extern "C" to all the headers.
Change-Id: Idc249ff1b199b7c455f90092ff2c8a48b539faf4
Diffstat (limited to 'minadbd/fdevent.h')
-rw-r--r-- | minadbd/fdevent.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/minadbd/fdevent.h b/minadbd/fdevent.h index a0ebe2a..38b08cc 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 |