diff options
author | Adriaan de Groot <adridg@FreeBSD.org> | 2023-05-02 15:40:24 +0200 |
---|---|---|
committer | Adriaan de Groot <adridg@FreeBSD.org> | 2023-05-02 16:25:21 +0200 |
commit | b94d1e58ddfa03e1162339e81a8465899249d0c5 (patch) | |
tree | 96fd9bedb0bd683ad376048955d6f74f936ca4d6 /math/readstat/files/patch-src_readstat__writer.c | |
parent | net/haproxy26: update to version 2.6.13. (diff) |
math/readstat: fix build with clang15
.. continuing story of missing prototypes.
Diffstat (limited to 'math/readstat/files/patch-src_readstat__writer.c')
-rw-r--r-- | math/readstat/files/patch-src_readstat__writer.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/readstat/files/patch-src_readstat__writer.c b/math/readstat/files/patch-src_readstat__writer.c new file mode 100644 index 000000000000..cc5db2096209 --- /dev/null +++ b/math/readstat/files/patch-src_readstat__writer.c @@ -0,0 +1,11 @@ +--- src/readstat_writer.c.orig 2023-05-02 13:36:19 UTC ++++ src/readstat_writer.c +@@ -35,7 +35,7 @@ readstat_string_ref_t *readstat_string_ref_init(const + return ref; + } + +-readstat_writer_t *readstat_writer_init() { ++readstat_writer_t *readstat_writer_init(void) { + readstat_writer_t *writer = calloc(1, sizeof(readstat_writer_t)); + + writer->variables = calloc(VARIABLES_INITIAL_CAPACITY, sizeof(readstat_variable_t *)); |