Added
Link Here
|
1 |
--- src/string.c.orig 2021-11-13 08:04:45 UTC |
2 |
+++ src/string.c |
3 |
@@ -12,7 +12,7 @@ static void ensure_capacity(struct str *str, size_t le |
4 |
} |
5 |
} |
6 |
|
7 |
-struct str *str_create() { |
8 |
+struct str *str_create(void) { |
9 |
struct str *str = xcalloc(1, sizeof(struct str)); |
10 |
str->str = xcalloc(16, 1); |
11 |
str->size = 16; |