summaryrefslogtreecommitdiff
path: root/math/readstat/files/patch-src_readstat__writer.c
blob: cc5db20962095bed6908810e36d69da2672d4239 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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 *));