diff options
author | Josh Haberman <jhaberman@gmail.com> | 2014-07-02 15:41:10 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2014-07-02 15:41:10 -0700 |
commit | 47b5e0968aa0ec47f522ba357c159b2450645806 (patch) | |
tree | d8cd2e7d518b1d6572a6002843446c9e6ee8ef89 /upb/bindings/stdc/io.h | |
parent | 2d10fa33071d52d7a35ce3b13bc459cd16a0aa33 (diff) |
Sync from internal Google development.
Diffstat (limited to 'upb/bindings/stdc/io.h')
-rw-r--r-- | upb/bindings/stdc/io.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/upb/bindings/stdc/io.h b/upb/bindings/stdc/io.h index fd19bef..7c6f282 100644 --- a/upb/bindings/stdc/io.h +++ b/upb/bindings/stdc/io.h @@ -13,9 +13,7 @@ #include <stdio.h> #include "upb/bytestream.h" -#ifdef __cplusplus -extern "C" { -#endif +UPB_BEGIN_EXTERN_C /* upb_stdio ******************************************************************/ @@ -66,8 +64,6 @@ void upb_stdio_open(upb_stdio *stdio, const char *filename, const char *mode, upb_bytesrc *upb_stdio_bytesrc(upb_stdio *stdio); upb_bytesink *upb_stdio_bytesink(upb_stdio *stdio); -#ifdef __cplusplus -} /* extern "C" */ -#endif +UPB_END_EXTERN_C #endif /* UPB_STDC_IO_H_ */ |