summaryrefslogtreecommitdiffstats
path: root/src/errno_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/errno_status.h')
-rw-r--r--src/errno_status.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/errno_status.h b/src/errno_status.h
index 2f81e4e..9c147db 100644
--- a/src/errno_status.h
+++ b/src/errno_status.h
@@ -8,13 +8,11 @@
#include "zix/status.h"
/// Return an errno value converted to a status code
-ZIX_CONST_FUNC
-ZixStatus
+ZIX_CONST_FUNC ZixStatus
zix_errno_status(int e);
/// Return success if `r` is non-zero, or `errno` as a status code otherwise
-ZIX_PURE_FUNC
-ZixStatus
+ZIX_PURE_FUNC ZixStatus
zix_errno_status_if(int r);
#endif // ZIX_ERRNO_STATUS_H