diff options
author | David Robillard <d@drobilla.net> | 2022-10-20 21:34:20 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-21 12:45:39 -0400 |
commit | d072adfbe40e15715e2065f1900f8d5a76491c5f (patch) | |
tree | 350f7c5c70e84d7a1d98a8e9389af4a4d3631cb1 /include | |
parent | 60e86c7b2a05dab33fc66f4fa5b2954d79456cb6 (diff) | |
download | zix-d072adfbe40e15715e2065f1900f8d5a76491c5f.tar.gz zix-d072adfbe40e15715e2065f1900f8d5a76491c5f.tar.bz2 zix-d072adfbe40e15715e2065f1900f8d5a76491c5f.zip |
Hide errno utility functions
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 |