summaryrefslogtreecommitdiff
path: root/math/readstat/files/patch-src_readstat__parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/readstat/files/patch-src_readstat__parser.c')
-rw-r--r--math/readstat/files/patch-src_readstat__parser.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/readstat/files/patch-src_readstat__parser.c b/math/readstat/files/patch-src_readstat__parser.c
new file mode 100644
index 000000000000..861d0a24adf2
--- /dev/null
+++ b/math/readstat/files/patch-src_readstat__parser.c
@@ -0,0 +1,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) {