src/ui/gui/dummy.c: Eliminate warnings when building with gcc-10.2.0
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Aug 2020 11:54:14 +0000 (13:54 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Aug 2020 11:59:30 +0000 (13:59 +0200)
src/ui/gui/dummy.c

index fa28d207b3553273b322cd4ea5315171c5a85bfb..e8ee492dc684110499a625782ffec134ccd0ce82 100644 (file)
@@ -24,6 +24,7 @@
 
 
 #include <config.h>
+#include <assert.h>
 
 #include <gtk/gtk.h>
 
@@ -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;
+}