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/error.h | |
parent | 2d10fa33071d52d7a35ce3b13bc459cd16a0aa33 (diff) |
Sync from internal Google development.
Diffstat (limited to 'upb/bindings/stdc/error.h')
-rw-r--r-- | upb/bindings/stdc/error.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/upb/bindings/stdc/error.h b/upb/bindings/stdc/error.h index 9802097..cfc7025 100644 --- a/upb/bindings/stdc/error.h +++ b/upb/bindings/stdc/error.h @@ -12,16 +12,12 @@ #ifndef UPB_STDC_ERROR_H_ #define UPB_STDC_ERROR_H_ -#ifdef __cplusplus -extern "C" { -#endif +UPB_BEGIN_EXTERN_C extern upb_errorspace upb_stdc_errorspace; void upb_status_fromerrno(upb_status *status, int code); bool upb_errno_is_wouldblock(int code); -#ifdef __cplusplus -} /* extern "C" */ -#endif +UPB_END_EXTERN_C #endif /* UPB_STDC_ERROR_H_ */ |