summaryrefslogtreecommitdiff
path: root/upb/bindings/stdc/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/bindings/stdc/error.h')
-rw-r--r--upb/bindings/stdc/error.h8
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_ */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback