diff options
author | Elliott Hughes <enh@google.com> | 2015-03-18 22:47:09 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-03-18 22:47:54 -0700 |
commit | 253c18d2fbab6c16886af8bdfd528df3ebf82b93 (patch) | |
tree | d303f905e1298ff86186b3641595a69c61fe9da5 /fastboot/usb.h | |
parent | ee2e362f8be4cbf68bb38fa1916a1f395677c593 (diff) | |
download | system_core-253c18d2fbab6c16886af8bdfd528df3ebf82b93.tar.gz system_core-253c18d2fbab6c16886af8bdfd528df3ebf82b93.tar.bz2 system_core-253c18d2fbab6c16886af8bdfd528df3ebf82b93.zip |
Prepare for switching to libziparchive.
Bug: 19765860
Change-Id: I58249d28fbc4975428d0dcac5107d1994c35676c
Diffstat (limited to 'fastboot/usb.h')
-rw-r--r-- | fastboot/usb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fastboot/usb.h b/fastboot/usb.h index 17cf0a978..c7b748ef9 100644 --- a/fastboot/usb.h +++ b/fastboot/usb.h @@ -29,6 +29,10 @@ #ifndef _USB_H_ #define _USB_H_ +#if defined(__cplusplus) +extern "C" { +#endif + typedef struct usb_handle usb_handle; typedef struct usb_ifc_info usb_ifc_info; @@ -64,4 +68,8 @@ int usb_read(usb_handle *h, void *_data, int len); int usb_write(usb_handle *h, const void *_data, int len); int usb_wait_for_disconnect(usb_handle *h); +#if defined(__cplusplus) +} +#endif + #endif |