aboutsummaryrefslogtreecommitdiff
path: root/cstring
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-03-16 20:41:45 -0700
committer3gg <3gg@shellblade.net>2026-03-16 20:41:45 -0700
commitc500c0dce37ad461c138e40cf8cffa2c8f37a847 (patch)
tree5a3cfb6f2f52429094cbc93d29cc1ef6f8ccaed7 /cstring
parenta10103ed9735b083200dfb78233fce325a9329dc (diff)
Fix warningHEADmain
Diffstat (limited to 'cstring')
-rw-r--r--cstring/include/cstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cstring/include/cstring.h b/cstring/include/cstring.h
index c24cd35..d2ea88e 100644
--- a/cstring/include/cstring.h
+++ b/cstring/include/cstring.h
@@ -53,7 +53,7 @@ static inline void cstring_copy(char* dst, const char* src, size_t count) {
53 } \ 53 } \
54 } \ 54 } \
55 \ 55 \
56 static inline STRING STRING##_make_empty() { return (STRING){0}; } \ 56 static inline STRING STRING##_make_empty(void) { return (STRING){0}; } \
57 \ 57 \
58 static inline STRING STRING##_dirname(const STRING path) { \ 58 static inline STRING STRING##_dirname(const STRING path) { \
59 STRING str = path; \ 59 STRING str = path; \