From 7333c2c94542b84ea37dfdc92e0be900ab15aa5a Mon Sep 17 00:00:00 2001 From: Daria Phoebe Brashear Date: Wed, 18 Apr 2018 15:49:49 -0400 Subject: [PATCH] roken: parse_units returns void despite the fact that the called function returns void, returning a result here throws an error with solaris cc. just call the function and don't return --- lib/roken/parse_units.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roken/parse_units.c b/lib/roken/parse_units.c index 83918e973..478d8ef27 100644 --- a/lib/roken/parse_units.c +++ b/lib/roken/parse_units.c @@ -376,5 +376,5 @@ unparse_flags(int num, const struct units *units, char *s, size_t len) ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL print_flags_table (const struct units *units, FILE *f) { - return rk_print_flags_table (units, f); + rk_print_flags_table (units, f); }