diff options
Diffstat (limited to 'src/errno_status.h')
-rw-r--r-- | src/errno_status.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/errno_status.h b/src/errno_status.h index 2f81e4e..969d0dc 100644 --- a/src/errno_status.h +++ b/src/errno_status.h @@ -4,17 +4,15 @@ #ifndef ZIX_ERRNO_STATUS_H #define ZIX_ERRNO_STATUS_H -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/attributes.h> +#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 |