From: John Darrington Date: Thu, 9 Apr 2009 10:53:52 +0000 (+0800) Subject: Fix some compiler warnings X-Git-Tag: sav-api~669 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b11e0493376378e2a9bfff7cd76fdb32915abfd6;p=pspp Fix some compiler warnings --- diff --git a/src/language/stats/npar-summary.c b/src/language/stats/npar-summary.c index 3ad3a5bb15..2e4fe5856f 100644 --- a/src/language/stats/npar-summary.c +++ b/src/language/stats/npar-summary.c @@ -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, diff --git a/src/language/stats/npar-summary.h b/src/language/stats/npar-summary.h index 0e52b80233..a8b12797c1 100644 --- a/src/language/stats/npar-summary.h +++ b/src/language/stats/npar-summary.h @@ -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, diff --git a/src/ui/gui/psppire-window.c b/src/ui/gui/psppire-window.c index 990e4ab5fe..70500e6a0b 100644 --- a/src/ui/gui/psppire-window.c +++ b/src/ui/gui/psppire-window.c @@ -25,6 +25,7 @@ #include #include +#include #include #define _(msgid) gettext (msgid) diff --git a/src/ui/gui/psppire.c b/src/ui/gui/psppire.c index 7a369a607d..c774a23db6 100644 --- a/src/ui/gui/psppire.c +++ b/src/ui/gui/psppire.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include "relocatable.h" diff --git a/src/ui/gui/recode-dialog.c b/src/ui/gui/recode-dialog.c index 4bc12b5053..50d87193d2 100644 --- a/src/ui/gui/recode-dialog.c +++ b/src/ui/gui/recode-dialog.c @@ -26,6 +26,7 @@ #include +#include #include #include #include diff --git a/src/ui/gui/select-cases-dialog.c b/src/ui/gui/select-cases-dialog.c index 6492af28e9..ffe86188e2 100644 --- a/src/ui/gui/select-cases-dialog.c +++ b/src/ui/gui/select-cases-dialog.c @@ -27,6 +27,7 @@ #include "widget-io.h" #include #include "helper.h" +#include #include