summaryrefslogtreecommitdiffstats
path: root/adb/adb_io.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-17 09:47:42 -0700
committerElliott Hughes <enh@google.com>2015-04-17 09:47:42 -0700
commit2d4121c0dcc93382bcd7ea6476f433d8254919dd (patch)
treebdd8ab4be041d06fc50418b4a99fcb8b5a81b07a /adb/adb_io.h
parenta4802ca08bfcbf0124f5e9b959ed4e3a198d5f46 (diff)
downloadcore-2d4121c0dcc93382bcd7ea6476f433d8254919dd.tar.gz
core-2d4121c0dcc93382bcd7ea6476f433d8254919dd.tar.bz2
core-2d4121c0dcc93382bcd7ea6476f433d8254919dd.zip
Remove extern "C" barriers to using C++.
Change-Id: Ic046d6aa540738cb46b54531bc59ba3b47b0136d
Diffstat (limited to 'adb/adb_io.h')
-rw-r--r--adb/adb_io.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/adb/adb_io.h b/adb/adb_io.h
index 7d09e7ba5..8d237ce39 100644
--- a/adb/adb_io.h
+++ b/adb/adb_io.h
@@ -20,10 +20,6 @@
#include <stdbool.h>
#include <sys/types.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* Reads exactly len bytes from fd into buf.
*
@@ -46,8 +42,4 @@ bool WriteFdExactly(int fd, const void *buf, size_t len);
/* Same as WriteFdExactly, but with an implicit len = strlen(buf). */
bool WriteStringFully(int fd, const char* str);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* ADB_IO_H */