summaryrefslogtreecommitdiff
path: root/math/readstat/files/patch-src_readstat__parser.c
blob: 861d0a24adf2f2354769cd5f74b6a7b8ec7bb4e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/readstat_parser.c.orig	2023-04-20 20:54:06 UTC
+++ src/readstat_parser.c
@@ -3,7 +3,7 @@
 #include "readstat.h"
 #include "readstat_io_unistd.h"
 
-readstat_parser_t *readstat_parser_init() {
+readstat_parser_t *readstat_parser_init(void) {
     readstat_parser_t *parser = calloc(1, sizeof(readstat_parser_t));
     parser->io = calloc(1, sizeof(readstat_io_t));
     if (unistd_io_init(parser) != READSTAT_OK) {