1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/math/readstat/files/patch-src_sas_readstat__sas.c
Adriaan de Groot b94d1e58dd math/readstat: fix build with clang15
.. continuing story of missing prototypes.
2023-05-02 16:25:21 +02:00

12 lines
353 B
C

--- src/sas/readstat_sas.c.orig 2023-05-02 13:35:12 UTC
+++ src/sas/readstat_sas.c
@@ -120,7 +120,7 @@ static readstat_charset_entry_t _charset_table[] = {
{ .code = 248, .name = "SHIFT_JISX0213" },
};
-static time_t sas_epoch() {
+static time_t sas_epoch(void) {
return - 3653 * 86400; // seconds between 01-01-1960 and 01-01-1970
}