diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/zix/common.h | 10 | ||||
-rw-r--r-- | include/zix/sem.h | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/include/zix/common.h b/include/zix/common.h index df49afe..788fdaa 100644 --- a/include/zix/common.h +++ b/include/zix/common.h @@ -38,16 +38,6 @@ ZIX_CONST_API const char* zix_strerror(ZixStatus status); -/// Return an errno value converted to a status code -ZIX_CONST_API -ZixStatus -zix_errno_status(int e); - -/// Return success if `r` is non-zero, or `errno` as a status code otherwise -ZIX_PURE_API -ZixStatus -zix_errno_status_if(int r); - /// Function for comparing two elements typedef int (*ZixComparator)(const void* a, const void* b, diff --git a/include/zix/sem.h b/include/zix/sem.h index e7db792..25088bf 100644 --- a/include/zix/sem.h +++ b/include/zix/sem.h @@ -19,9 +19,7 @@ extern "C" { #endif -#include <stdbool.h> #include <stdint.h> -#include <time.h> /** @defgroup zix_sem Semaphore |