Fix some compiler warnings
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 9 Apr 2009 10:53:52 +0000 (18:53 +0800)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 9 Apr 2009 10:53:52 +0000 (18:53 +0800)
src/language/stats/npar-summary.c
src/language/stats/npar-summary.h
src/ui/gui/psppire-window.c
src/ui/gui/psppire.c
src/ui/gui/recode-dialog.c
src/ui/gui/select-cases-dialog.c

index 3ad3a5bb1554194cca7160be6b9b87fd4200e7dd..2e4fe5856f6242c30a7b06de247837128fb6b68f 100644 (file)
@@ -86,11 +86,6 @@ npar_summary_calc_descriptives (struct descriptives *desc,
 }
 
 
-void
-do_summary_box (const struct descriptives *desc,
-               const struct variable *const *vv,
-               int n_vars);
-
 
 void
 do_summary_box (const struct descriptives *desc,
index 0e52b8023355cf81c6f76ec73451d1b10c489231..a8b12797c1c8b6667de481a41c5f05644a6a08d7 100644 (file)
@@ -30,6 +30,11 @@ struct descriptives
   double max;
 };
 
+void
+do_summary_box (const struct descriptives *desc,
+               const struct variable *const *vv,
+               int n_vars);
+
 void npar_summary_calc_descriptives (struct descriptives *desc,
                                     struct casereader *input,
                                     const struct dictionary *dict,
index 990e4ab5fed6245b33df401868c4c5f79a206feb..70500e6a0b4f1fa8a78228aa95fdb05ba58c1b2b 100644 (file)
@@ -25,6 +25,7 @@
 #include <gtk/gtkmain.h>
 
 #include <stdlib.h>
+#include <xalloc.h>
 
 #include <gettext.h>
 #define _(msgid) gettext (msgid)
index 7a369a607d6acd44f3755d354c51b08c3bf3c0d1..c774a23db668cb0930d09870af0fdabdd6c98ded 100644 (file)
@@ -21,6 +21,7 @@
 #include <libintl.h>
 #include <gsl/gsl_errno.h>
 
+#include <xalloc.h>
 #include <argp.h>
 #include <ui/command-line.h>
 #include "relocatable.h"
index 4bc12b50530ba5e8c9a6e2bfc64ea367db352b6b..50d87193d2381723b34da472841a9d8100284377 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gtk/gtk.h>
 
+#include <xalloc.h>
 #include <language/syntax-string-source.h>
 #include <ui/gui/psppire-data-window.h>
 #include <ui/gui/dialog-common.h>
index 6492af28e906eab1ca377adc6faa15c6143adddd..ffe86188e27c8db48034a7a9c04ff13f87436f0d 100644 (file)
@@ -27,6 +27,7 @@
 #include "widget-io.h"
 #include <language/syntax-string-source.h>
 #include "helper.h"
+#include <xalloc.h>
 
 
 #include <gettext.h>