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 c751060ee8..b7a7ee701f 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 c78bfa4a7a..a8360330aa 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 4cd080a299..6cf6367cbe 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 051c34e3b4..02a4a6cbef 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 5444b2d14e..9586eb1e06 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 e536b83316..656d8d49b3 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 5cee5a9a24..dae1cc07a1 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 c674aa609f..c808cb4e57 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 2585aa8cbf..fc66874068 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 b7bd5782d0..6f312fa703 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 f5d6c09dc8..2138317188 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 073578c570..0fdb8caae7 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