From d709bb3de888c933c34064440b5431c9b62d9103 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 12 Oct 2007 05:05:31 +0000 Subject: [PATCH] config.h-fixes.patch from patch #6230. Do #include from every .c file. Do not #include from any .h file. --- src/data/value.h | 1 - src/language/stats/binomial.h | 1 - src/language/stats/npar-summary.h | 2 -- src/language/stats/sort-criteria.h | 1 - src/output/chart.h | 1 - src/output/charts/box-whisker.h | 2 -- src/output/charts/plot-chart.h | 1 - src/output/charts/plot-hist.h | 1 - src/output/output.h | 2 -- src/ui/gui/clipboard.h | 1 - src/ui/gui/t-test-independent-samples-dialog.c | 1 + src/ui/gui/widget-io.h | 2 -- 12 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/data/value.h b/src/data/value.h index c751060e..b7a7ee70 100644 --- a/src/data/value.h +++ b/src/data/value.h @@ -21,7 +21,6 @@ #include #include #include "minmax.h" -#include /* Values. */ diff --git a/src/language/stats/binomial.h b/src/language/stats/binomial.h index c78bfa4a..a8360330 100644 --- a/src/language/stats/binomial.h +++ b/src/language/stats/binomial.h @@ -17,7 +17,6 @@ #if !binomial_h #define binomial_h 1 -#include #include #include diff --git a/src/language/stats/npar-summary.h b/src/language/stats/npar-summary.h index 4cd080a2..6cf6367c 100644 --- a/src/language/stats/npar-summary.h +++ b/src/language/stats/npar-summary.h @@ -17,8 +17,6 @@ #if !n_par_summary_h #define n_par_summary_h 1 -#include - struct variable ; struct casereader ; struct dictionary; diff --git a/src/language/stats/sort-criteria.h b/src/language/stats/sort-criteria.h index 051c34e3..02a4a6cb 100644 --- a/src/language/stats/sort-criteria.h +++ b/src/language/stats/sort-criteria.h @@ -17,7 +17,6 @@ #ifndef SORT_CRITERIA_H #define SORT_CRITERIA_H -#include #include #include diff --git a/src/output/chart.h b/src/output/chart.h index 5444b2d1..9586eb1e 100644 --- a/src/output/chart.h +++ b/src/output/chart.h @@ -14,7 +14,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include #include #include #include diff --git a/src/output/charts/box-whisker.h b/src/output/charts/box-whisker.h index e536b833..656d8d49 100644 --- a/src/output/charts/box-whisker.h +++ b/src/output/charts/box-whisker.h @@ -17,8 +17,6 @@ #ifndef BOX_WHISKER_H #define BOX_WHISKER_H -#include - struct chart ; struct weighted_value; struct metrics; diff --git a/src/output/charts/plot-chart.h b/src/output/charts/plot-chart.h index 5cee5a9a..dae1cc07 100644 --- a/src/output/charts/plot-chart.h +++ b/src/output/charts/plot-chart.h @@ -14,7 +14,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include #include #include #include diff --git a/src/output/charts/plot-hist.h b/src/output/charts/plot-hist.h index c674aa60..c808cb4e 100644 --- a/src/output/charts/plot-hist.h +++ b/src/output/charts/plot-hist.h @@ -17,7 +17,6 @@ #ifndef PLOT_HIST_H #define PLOT_HIST_H -#include #include diff --git a/src/output/output.h b/src/output/output.h index 2585aa8c..fc668740 100644 --- a/src/output/output.h +++ b/src/output/output.h @@ -17,8 +17,6 @@ #ifndef OUTPUT_OUTPUT_H #define OUTPUT_OUTPUT_H 1 -#include - #include diff --git a/src/ui/gui/clipboard.h b/src/ui/gui/clipboard.h index b7bd5782..6f312fa7 100644 --- a/src/ui/gui/clipboard.h +++ b/src/ui/gui/clipboard.h @@ -14,7 +14,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include #include #ifndef CLIPBOARD_H diff --git a/src/ui/gui/t-test-independent-samples-dialog.c b/src/ui/gui/t-test-independent-samples-dialog.c index f5d6c09d..21383171 100644 --- a/src/ui/gui/t-test-independent-samples-dialog.c +++ b/src/ui/gui/t-test-independent-samples-dialog.c @@ -16,6 +16,7 @@ */ +#include #include #include #include "t-test-independent-samples-dialog.h" diff --git a/src/ui/gui/widget-io.h b/src/ui/gui/widget-io.h index 073578c5..0fdb8caa 100644 --- a/src/ui/gui/widget-io.h +++ b/src/ui/gui/widget-io.h @@ -14,8 +14,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include - #include -- 2.30.2