From 6cc6c9a57c674787f278ea5b60705384fd72b4ad Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 14 Jan 2006 07:00:13 +0000 Subject: [PATCH] Make sure #include is the first include in the file. (bug 2006-01-14 Behdad Esfahbod * */*.c, */*/*.c: Make sure #include is the first include in the file. (bug #158870, based on patch by Luis Menina) --- src/disasm.c | 2 ++ src/ftglue.c | 1 + src/ftxgdef.c | 1 + src/ftxgpos.c | 2 ++ src/ftxgsub.c | 2 ++ src/ftxopen.c | 2 ++ src/otlbuffer.c | 3 +++ src/ottest.c | 1 + src/pango-ot-buffer.c | 2 ++ src/pango-ot-info.c | 2 ++ src/pango-ot-ruleset.c | 2 ++ 11 files changed, 20 insertions(+) diff --git a/src/disasm.c b/src/disasm.c index 15464f4b9..50a072050 100644 --- a/src/disasm.c +++ b/src/disasm.c @@ -19,6 +19,8 @@ * Boston, MA 02111-1307, USA. */ +#include + #include /* For G_HAVE_ISO_VARARGS */ #include diff --git a/src/ftglue.c b/src/ftglue.c index bf895ec36..b3fd5b2d8 100644 --- a/src/ftglue.c +++ b/src/ftglue.c @@ -8,6 +8,7 @@ * See ftglue.h for more information. */ +#include #include "ftglue.h" #if 0 diff --git a/src/ftxgdef.c b/src/ftxgdef.c index 702e29b96..8701b326c 100644 --- a/src/ftxgdef.c +++ b/src/ftxgdef.c @@ -15,6 +15,7 @@ * ******************************************************************/ +#include #include "ftxopen.h" #include "ftxopenf.h" diff --git a/src/ftxgpos.c b/src/ftxgpos.c index 3ebb3023a..69efd070b 100644 --- a/src/ftxgpos.c +++ b/src/ftxgpos.c @@ -15,6 +15,8 @@ * ******************************************************************/ +#include + /* XXX There is *a lot* of duplicated code (cf. formats 7 and 8), but I don't care currently. I believe that it would be possible to save about 50% of TTO code by carefully designing the structures, diff --git a/src/ftxgsub.c b/src/ftxgsub.c index 1e8afaa28..dac69aa2d 100644 --- a/src/ftxgsub.c +++ b/src/ftxgsub.c @@ -15,6 +15,8 @@ * ******************************************************************/ +#include + /* XXX There is *a lot* of duplicated code (cf. formats 5 and 6), but I don't care currently. I believe that it would be possible to save about 50% of TTO code by carefully designing the structures, diff --git a/src/ftxopen.c b/src/ftxopen.c index c2f04850f..e086bd192 100644 --- a/src/ftxopen.c +++ b/src/ftxopen.c @@ -15,6 +15,8 @@ * ******************************************************************/ +#include + #include "ftxopen.h" #include "ftxopenf.h" diff --git a/src/otlbuffer.c b/src/otlbuffer.c index a53fc4b7e..5578f8eeb 100644 --- a/src/otlbuffer.c +++ b/src/otlbuffer.c @@ -11,6 +11,9 @@ * this file you indicate that you have read the license and * understand and accept it fully. */ + +#include + #include /* To get the gcc-3.3 strict-aliasing compatible versions diff --git a/src/ottest.c b/src/ottest.c index 6bf640be0..d82c9a9b6 100644 --- a/src/ottest.c +++ b/src/ottest.c @@ -19,6 +19,7 @@ * Boston, MA 02111-1307, USA. */ +#include #include #include diff --git a/src/pango-ot-buffer.c b/src/pango-ot-buffer.c index 8d97aea01..f649ae62d 100644 --- a/src/pango-ot-buffer.c +++ b/src/pango-ot-buffer.c @@ -19,6 +19,8 @@ * Boston, MA 02111-1307, USA. */ +#include + #include "pango-ot-private.h" #define PANGO_SCALE_26_6 (PANGO_SCALE / (1<<6)) diff --git a/src/pango-ot-info.c b/src/pango-ot-info.c index 87a2a4ebb..1899bd02e 100644 --- a/src/pango-ot-info.c +++ b/src/pango-ot-info.c @@ -19,6 +19,8 @@ * Boston, MA 02111-1307, USA. */ +#include + #include "pango-ot-private.h" #include "../pango-utils.h" #include "ftglue.h" diff --git a/src/pango-ot-ruleset.c b/src/pango-ot-ruleset.c index b61a28e00..838d80e45 100644 --- a/src/pango-ot-ruleset.c +++ b/src/pango-ot-ruleset.c @@ -19,6 +19,8 @@ * Boston, MA 02111-1307, USA. */ +#include + #include #include "pango-ot-private.h" #include "../pango-utils.h"