From: John Darrington Date: Sat, 22 Aug 2020 11:54:14 +0000 (+0200) Subject: src/ui/gui/dummy.c: Eliminate warnings when building with gcc-10.2.0 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3a92aa6d6536a82f4f50da5af0d1c76eb6f2709;p=pspp src/ui/gui/dummy.c: Eliminate warnings when building with gcc-10.2.0 --- diff --git a/src/ui/gui/dummy.c b/src/ui/gui/dummy.c index fa28d207b3..e8ee492dc6 100644 --- a/src/ui/gui/dummy.c +++ b/src/ui/gui/dummy.c @@ -24,6 +24,7 @@ #include +#include #include @@ -33,15 +34,28 @@ const GEnumValue align[1]; const GEnumValue measure[1]; const GEnumValue role[1]; - const int N_AG_FUNCS = 0; const struct ag_func ag_func[1]; int F_8_0; -int var_is_numeric () {} - - -int tt_options_dialog_run () {} - -int agr_func_tab () {} +int +var_is_numeric () +{ + assert (0); + return -1; +} + +int +tt_options_dialog_run () +{ + assert (0); + return -1; +} + +int +agr_func_tab () +{ + assert (0); + return -1; +}