From: John Darrington Date: Mon, 25 Oct 2010 09:30:28 +0000 (+0200) Subject: Remove various duplicated #include directives X-Git-Tag: v0.7.7~183 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52c400a0ac67e4a43c5cae5a0d40e1452326240c;p=pspp-builds.git Remove various duplicated #include directives --- diff --git a/glade/dialog.c b/glade/dialog.c index 3596e348..09330bd7 100644 --- a/glade/dialog.c +++ b/glade/dialog.c @@ -4,7 +4,6 @@ #include "psppire-dialog.h" #include #include -#include #include diff --git a/src/data/gnumeric-reader.c b/src/data/gnumeric-reader.c index 26b90ee8..64b29b76 100644 --- a/src/data/gnumeric-reader.c +++ b/src/data/gnumeric-reader.c @@ -40,25 +40,26 @@ gnumeric_open_reader (struct gnumeric_read_info *gri, struct dictionary **dict) #else -#include +#include +#include #include -#include -#include -#include -#include + #include -#include #include #include -#include #include +#include +#include +#include +#include #include +#include +#include + #include "gnumeric-reader.h" -#include -#include /* Default width of string variables. */ #define GNUMERIC_DEFAULT_WIDTH 8 diff --git a/src/language/data-io/file-handle.q b/src/language/data-io/file-handle.q index 71081b92..c29a5fed 100644 --- a/src/language/data-io/file-handle.q +++ b/src/language/data-io/file-handle.q @@ -15,13 +15,13 @@ along with this program. If not, see . */ #include + #include -#include -#include #include #include #include #include +#include #include #include #include diff --git a/src/language/data-io/inpt-pgm.c b/src/language/data-io/inpt-pgm.c index 8cadb94b..eada5cdd 100644 --- a/src/language/data-io/inpt-pgm.c +++ b/src/language/data-io/inpt-pgm.c @@ -16,7 +16,6 @@ #include -#include #include #include @@ -31,12 +30,12 @@ #include #include #include +#include #include #include #include #include #include -#include #include #include diff --git a/src/language/dictionary/missing-values.c b/src/language/dictionary/missing-values.c index 912c58cf..455f1cc3 100644 --- a/src/language/dictionary/missing-values.c +++ b/src/language/dictionary/missing-values.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include "gettext.h" diff --git a/src/language/dictionary/sys-file-info.c b/src/language/dictionary/sys-file-info.c index 24130cbc..fe24953a 100644 --- a/src/language/dictionary/sys-file-info.c +++ b/src/language/dictionary/sys-file-info.c @@ -36,7 +36,6 @@ #include #include #include -#include #include #include diff --git a/src/language/lexer/lexer.c b/src/language/lexer/lexer.c index 87fecaa6..8d0352ae 100644 --- a/src/language/lexer/lexer.c +++ b/src/language/lexer/lexer.c @@ -15,8 +15,8 @@ along with this program. If not, see . */ #include + #include "lexer.h" -#include #include #include #include @@ -25,11 +25,11 @@ #include #include #include -#include #include -#include #include +#include #include +#include #include #include #include diff --git a/src/language/prompt.c b/src/language/prompt.c index ede6a5e3..b5278078 100644 --- a/src/language/prompt.c +++ b/src/language/prompt.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include diff --git a/src/language/stats/examine.q b/src/language/stats/examine.q index e4239fda..090d5835 100644 --- a/src/language/stats/examine.q +++ b/src/language/stats/examine.q @@ -17,7 +17,6 @@ #include #include -#include #include #include #include diff --git a/src/language/syntax-file.c b/src/language/syntax-file.c index 83bd07b3..97f73fd6 100644 --- a/src/language/syntax-file.c +++ b/src/language/syntax-file.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include diff --git a/src/language/utilities/permissions.c b/src/language/utilities/permissions.c index 967b1bd2..1de2175a 100644 --- a/src/language/utilities/permissions.c +++ b/src/language/utilities/permissions.c @@ -15,7 +15,7 @@ along with this program. If not, see . */ #include -#include + #include #include #include diff --git a/src/language/xforms/count.c b/src/language/xforms/count.c index 4fb889b1..be6c0b97 100644 --- a/src/language/xforms/count.c +++ b/src/language/xforms/count.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include diff --git a/src/libpspp/array.c b/src/libpspp/array.c index b1b4ee52..f82bce91 100644 --- a/src/libpspp/array.c +++ b/src/libpspp/array.c @@ -84,7 +84,9 @@ . */ #include + #include "array.h" + #include #include #include diff --git a/src/libpspp/hash.c b/src/libpspp/hash.c index 9101d1f1..f2d99e3a 100644 --- a/src/libpspp/hash.c +++ b/src/libpspp/hash.c @@ -15,18 +15,18 @@ along with this program. If not, see . */ #include -#include -#include "hash.h" -#include "message.h" + #include #include #include #include + #include "array.h" #include "compiler.h" +#include "hash.h" #include "misc.h" -#include "str.h" #include "pool.h" +#include "str.h" #include "xalloc.h" diff --git a/src/libpspp/ll.h b/src/libpspp/ll.h index bf871f6b..f59736f1 100644 --- a/src/libpspp/ll.h +++ b/src/libpspp/ll.h @@ -52,8 +52,6 @@ #include #include -#include - /* Embedded, circular doubly linked list. Each list contains a single "null" element that separates the diff --git a/src/ui/gui/psppire-syntax-window.c b/src/ui/gui/psppire-syntax-window.c index ccf94e7b..1d788819 100644 --- a/src/ui/gui/psppire-syntax-window.c +++ b/src/ui/gui/psppire-syntax-window.c @@ -21,19 +21,16 @@ #include "executor.h" #include "helper.h" +#include #include #include +#include "help-menu.h" #include "psppire.h" -#include "psppire-syntax-window.h" - #include "psppire-data-window.h" #include "psppire-window-register.h" -#include "psppire.h" -#include "help-menu.h" #include "psppire-syntax-window.h" #include "syntax-editor-source.h" -#include #include "xalloc.h" diff --git a/src/ui/gui/psppire.c b/src/ui/gui/psppire.c index 61042efe..621814cd 100644 --- a/src/ui/gui/psppire.c +++ b/src/ui/gui/psppire.c @@ -16,8 +16,6 @@ #include -#include "ui/gui/psppire.h" - #include #include #include @@ -32,15 +30,19 @@ #include "data/procedure.h" #include "data/settings.h" #include "data/sys-file-reader.h" + #include "language/lexer/lexer.h" #include "language/syntax-string-source.h" + #include "libpspp/getl.h" #include "libpspp/i18n.h" #include "libpspp/message.h" #include "libpspp/version.h" + #include "output/driver.h" #include "output/journal.h" #include "output/message-item.h" + #include "ui/gui/dict-display.h" #include "ui/gui/executor.h" #include "ui/gui/psppire-data-store.h" diff --git a/src/ui/gui/variable-info-dialog.c b/src/ui/gui/variable-info-dialog.c index 521864f4..16a5f462 100644 --- a/src/ui/gui/variable-info-dialog.c +++ b/src/ui/gui/variable-info-dialog.c @@ -17,20 +17,21 @@ #include #include -#include "variable-info-dialog.h" -#include "var-display.h" #include #include #include +#include +#include + +#include "variable-info-dialog.h" +#include "var-display.h" + #include "psppire-data-window.h" #include "psppire-dialog.h" -#include "psppire-var-store.h" #include "psppire-dictview.h" +#include "psppire-var-store.h" #include "helper.h" -#include -#include -#include "helper.h" #include