From b94d1e58ddfa03e1162339e81a8465899249d0c5 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 2 May 2023 15:40:24 +0200 Subject: math/readstat: fix build with clang15 .. continuing story of missing prototypes. --- math/readstat/files/patch-src_readstat__writer.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 math/readstat/files/patch-src_readstat__writer.c (limited to 'math/readstat/files/patch-src_readstat__writer.c') 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 *)); -- cgit v1.2.3