opnsense-ports/math/readstat/files/patch-src_readstat__variable.c
Franco Fichtner 6650c72bcb */*: sync with upstream
Taken from: FreeBSD
2024-02-13 11:37:15 +01:00

11 lines
500 B
C

--- src/readstat_variable.c.orig 2023-02-20 19:09:20 UTC
+++ src/readstat_variable.c
@@ -5,7 +5,7 @@ static readstat_value_t make_double_value(double dval)
static readstat_value_t make_blank_value(void);
static readstat_value_t make_double_value(double dval);
-static readstat_value_t make_blank_value() {
+static readstat_value_t make_blank_value(void) {
readstat_value_t value = { .is_system_missing = 1, .v = { .double_value = NAN }, .type = READSTAT_TYPE_DOUBLE };
return value;
}