diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2023-02-09 17:38:29 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2023-02-13 21:10:10 +0100 |
commit | 3b5d1a8f495d5b6bda72f9962516d5a1e273481b (patch) | |
tree | f0a64a13260e930148188db70d3e9dcf04ddd5ee /src/lib/shm_rdrbuff.c | |
parent | b0102d9dc3cb8b543e4e079ce68f1e06970b1cbb (diff) | |
download | ouroboros-3b5d1a8f495d5b6bda72f9962516d5a1e273481b.tar.gz ouroboros-3b5d1a8f495d5b6bda72f9962516d5a1e273481b.zip |
lib: Fix prototypes missing 'void'
Found by Clang version 15.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/shm_rdrbuff.c')
-rw-r--r-- | src/lib/shm_rdrbuff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/shm_rdrbuff.c b/src/lib/shm_rdrbuff.c index 23a2ebfc..3fe36766 100644 --- a/src/lib/shm_rdrbuff.c +++ b/src/lib/shm_rdrbuff.c @@ -205,7 +205,7 @@ static struct shm_rdrbuff * rdrb_create(int flags) return NULL; } -struct shm_rdrbuff * shm_rdrbuff_create() +struct shm_rdrbuff * shm_rdrbuff_create(void) { struct shm_rdrbuff * rdrb; mode_t mask; @@ -263,7 +263,7 @@ struct shm_rdrbuff * shm_rdrbuff_create() return NULL; } -struct shm_rdrbuff * shm_rdrbuff_open() +struct shm_rdrbuff * shm_rdrbuff_open(void) { return rdrb_create(O_RDWR); } |