aboutsummaryrefslogtreecommitdiff
path: root/cstring/include/cstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'cstring/include/cstring.h')
-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; \