From: John Darrington Date: Thu, 9 Apr 2009 10:53:52 +0000 (+0800) Subject: Fix some compiler warnings X-Git-Tag: v0.7.3~167 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b11e0493376378e2a9bfff7cd76fdb32915abfd6;p=pspp-builds.git Fix some compiler warnings --- diff --git a/src/language/stats/npar-summary.c b/src/language/stats/npar-summary.c index 3ad3a5bb..2e4fe585 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 0e52b802..a8b12797 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 990e4ab5..70500e6a 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 7a369a60..c774a23d 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 4bc12b50..50d87193 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 6492af28..ffe86188 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