Prefer GTK+ style casts rather than C-style casts.
[pspp] / src / ui / gui / dummy.c
index fa28d207b3553273b322cd4ea5315171c5a85bfb..f103b7d4e44491fada59887f75f43eea7d0f042d 100644 (file)
@@ -24,6 +24,7 @@
 
 
 #include <config.h>
+#include <assert.h>
 
 #include <gtk/gtk.h>
 
@@ -33,15 +34,32 @@ 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 (void);
+int tt_options_dialog_run (void);
+int agr_func_tab (void);
+
+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;
+}