summaryrefslogtreecommitdiffstats
path: root/include/zix/status.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/status.h')
-rw-r--r--include/zix/status.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/zix/status.h b/include/zix/status.h
index fcd45fb..906b812 100644
--- a/include/zix/status.h
+++ b/include/zix/status.h
@@ -6,9 +6,7 @@
#include "zix/attributes.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+ZIX_BEGIN_DECLS
/**
@defgroup zix Zix C API
@@ -43,8 +41,6 @@ zix_strerror(ZixStatus status);
@}
*/
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+ZIX_END_DECLS
#endif /* ZIX_STATUS_H */