Patch from Sven Neumann to make the include order consistent. (#71704)
authorOwen Taylor <otaylor@redhat.com>
Wed, 4 Dec 2002 01:27:44 +0000 (01:27 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 4 Dec 2002 01:27:44 +0000 (01:27 +0000)
Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/*.c: Patch from Sven Neumann to make the
        include order consistent. (#71704)

50 files changed:
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/garray.c
glib/gasyncqueue.c
glib/gbacktrace.c
glib/gbsearcharray.c
glib/gcache.c
glib/gcompletion.c
glib/gconvert.c
glib/gdataset.c
glib/gdate.c
glib/gerror.c
glib/ghash.c
glib/ghook.c
glib/giochannel.c
glib/giounix.c
glib/glist.c
glib/gmarkup.c
glib/gmem.c
glib/gmessages.c
glib/gnode.c
glib/gpattern.c
glib/gprimes.c
glib/gqsort.c
glib/gqueue.c
glib/grand.c
glib/grel.c
glib/gscanner.c
glib/gshell.c
glib/gslist.c
glib/gspawn-win32-helper.c
glib/gspawn-win32.c
glib/gspawn.c
glib/gstrfuncs.c
glib/gstring.c
glib/gthread.c
glib/gthreadpool.c
glib/gtimer.c
glib/gtree.c
glib/gunibreak.c
glib/gunicollate.c
glib/gunidecomp.c
glib/guniprop.c
glib/gutils.c
glib/gwin32.c

index 29a638f..935ec8f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/*.c: Patch from Sven Neumann to make the
+       include order consistent. (#71704)
+
 2002-12-03  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Check that strlcpy behaves as per the OpenBSD 
index 29a638f..935ec8f 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/*.c: Patch from Sven Neumann to make the
+       include order consistent. (#71704)
+
 2002-12-03  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Check that strlcpy behaves as per the OpenBSD 
index 29a638f..935ec8f 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/*.c: Patch from Sven Neumann to make the
+       include order consistent. (#71704)
+
 2002-12-03  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Check that strlcpy behaves as per the OpenBSD 
index 29a638f..935ec8f 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/*.c: Patch from Sven Neumann to make the
+       include order consistent. (#71704)
+
 2002-12-03  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Check that strlcpy behaves as per the OpenBSD 
index 29a638f..935ec8f 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/*.c: Patch from Sven Neumann to make the
+       include order consistent. (#71704)
+
 2002-12-03  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Check that strlcpy behaves as per the OpenBSD 
index 29a638f..935ec8f 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/*.c: Patch from Sven Neumann to make the
+       include order consistent. (#71704)
+
 2002-12-03  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Check that strlcpy behaves as per the OpenBSD 
index 29a638f..935ec8f 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/*.c: Patch from Sven Neumann to make the
+       include order consistent. (#71704)
+
 2002-12-03  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Check that strlcpy behaves as per the OpenBSD 
index 260ef64..02e3d31 100644 (file)
@@ -28,9 +28,7 @@
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include <string.h>
 #include <stdlib.h>
index d9e6489..071dedb 100644 (file)
  * MT safe
  */
 
+#include "config.h"
+
 #include "glib.h"
 
+
 struct _GAsyncQueue
 {
   GMutex *mutex;
index 24e9a9e..e4b3fdb 100644 (file)
@@ -29,9 +29,7 @@
  * then
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include <signal.h>
 #include <stdarg.h>
index a9891ec..3b50bde 100644 (file)
@@ -17,7 +17,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
 
 #define G_IMPLEMENT_INLINES 1
 #define __G_BSEARCHARRAY_C__
index 12e99a6..a462b02 100644 (file)
@@ -28,6 +28,8 @@
  * MT safe
  */
 
+#include "config.h"
+
 #include "glib.h"
 
 
index 702cb33..2cfa40a 100644 (file)
  * MT safe
  */
 
-#include "glib.h"
+#include "config.h"
+
 #include <string.h>
 
+#include "glib.h"
+
+
 static void completion_check_cache (GCompletion* cmp,
                                    gchar**      new_prefix);
 
index 4de433a..03939f3 100644 (file)
@@ -20,7 +20,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
 
 #include <iconv.h>
 #include <errno.h>
index 7d8d9af..fc0a92b 100644 (file)
  * looked at yet.  
  */
 
-#include        <string.h>
-#include       "glib.h"
+#include "config.h"
 
+#include <string.h>
+
+#include "glib.h"
 
 
 /* --- defines --- */
index bfbb714..9153a0a 100644 (file)
  * MT safe
  */
 
+#include "config.h"
+
 #define DEBUG_MSG(x)   /* */
 #ifdef G_ENABLE_DEBUG
 /* #define DEBUG_MSG(args)     g_message args ; */
 #endif
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include "glib.h"
 
 #include <time.h>
index 664aa24..bd6a34b 100644 (file)
  * GLib at ftp://ftp.gtk.org/pub/gtk/. 
  */
 
+#include "config.h"
+
 #include "glib.h"
 
+
 static GError* 
 g_error_new_valist(GQuark         domain,
                    gint           code,
index 0512061..a2653f3 100644 (file)
@@ -28,9 +28,7 @@
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include "glib.h"
 
index d2b0fcd..b1545a0 100644 (file)
@@ -31,7 +31,9 @@
  * MT safe
  */
 
-#include       "glib.h"
+#include "config.h"
+
+#include "glib.h"
 
 
 /* --- defines --- */
index 3091375..68ed280 100644 (file)
@@ -32,7 +32,6 @@
  */
 
 #include "config.h"
-#include "giochannel.h"
 
 #include <string.h>
 #include <errno.h>
@@ -45,6 +44,8 @@
 
 #include "glib.h"
 
+#include "giochannel.h"
+
 #include "glibintl.h"
 
 #define G_IO_NICE_BUF_SIZE     1024
index d347de5..29d29fb 100644 (file)
@@ -33,7 +33,6 @@
 
 #include "config.h"
 
-#include "glib.h"
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <stdio.h>
@@ -42,6 +41,8 @@
 #include <string.h>
 #include <fcntl.h>
 
+#include "glib.h"
+
 /*
  * Unix IO Channels
  */
index 3935cb1..9838519 100644 (file)
@@ -28,9 +28,7 @@
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include "glib.h"
 
index 4b2e783..a45952e 100644 (file)
  *   Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
-
-#include "glib.h"
+#include "config.h"
 
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
 
+#include "glib.h"
+
 #include "glibintl.h"
 
 GQuark
index 5d3a13a..22445a8 100644 (file)
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include <stdlib.h>
 #include <string.h>
 #include <signal.h>
+
 #include "glib.h"
 
 
index 0fb2358..820c3ee 100644 (file)
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include <stdlib.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <string.h>
-#include "glib.h"
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
 #include <signal.h>
 #include <locale.h>
 #include <errno.h>
+
+#include "glib.h"
 #include "gdebug.h"
 #include "gprintfint.h"
 
index a6888fe..c31a180 100644 (file)
@@ -31,9 +31,7 @@
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include "glib.h"
 
index 9249980..302c6f7 100644 (file)
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+
+#include "config.h"
+
+#include <string.h>
+
 #include "gpattern.h"
 
 #include "gmacros.h"
@@ -23,7 +28,6 @@
 #include "gmem.h"
 #include "gunicode.h"
 #include "gutils.h" 
-#include <string.h>
 
 /* keep enum and structure of gpattern.c and patterntest.c in sync */
 typedef enum
index 0d63bb7..439c1c8 100644 (file)
  * MT safe
  */
 
+#include "config.h"
+
 #include "glib.h"
 
+
 static const guint g_primes[] =
 {
   11,
index 5dcb4bf..8c9314c 100644 (file)
  * at ftp://ftp.gtk.org/pub/gtk/.
  */
 
+#include "config.h"
+
 #include <string.h>
 
 #include "glib.h"
 
+
 /* Byte-wise swap two items of size SIZE. */
 #define SWAP(a, b, size)                                                     \
   do                                                                         \
index 9db4d5c..debbfa0 100644 (file)
@@ -24,9 +24,7 @@
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include "glib.h"
 
index 36d53ff..f328878 100644 (file)
  * MT safe
  */
 
-#include <glib.h>
+#include "config.h"
+
 #include <math.h>
 #include <stdio.h>
 
+#include "glib.h"
+
+
 G_LOCK_DEFINE_STATIC (global_random);
 static GRand* global_random = NULL;
 
index 92cd822..d45deb6 100644 (file)
  * MT safe
  */
 
-#include "glib.h"
+#include "config.h"
+
 #include <stdarg.h>
 #include <string.h>
 
+#include "glib.h"
+
+
 typedef struct _GRealTuples        GRealTuples;
 
 struct _GRelation
index d1fb245..790241a 100644 (file)
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
+#include       <errno.h>
 #include       <stdlib.h>
 #include       <stdarg.h>
 #include       <string.h>
 #include       <stdio.h>
-#include       "glib.h"
-#include       "gprintfint.h"
 #ifdef HAVE_UNISTD_H
 #include       <unistd.h>
 #endif
-#include       <errno.h>
 #ifdef G_OS_WIN32
 #include       <io.h>          /* For _read() */
 #endif
 
+#include       "glib.h"
+#include       "gprintfint.h"
+
 /* --- defines --- */
 #define        to_lower(c)                             ( \
        (guchar) (                                                      \
index 08318fd..b6e5b52 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
 
-#include "glib.h"
 #include <string.h>
 
+#include "glib.h"
+
 #ifdef _
 #warning "FIXME remove gettext hack"
 #endif
index 18e08e4..4cac78f 100644 (file)
@@ -28,9 +28,7 @@
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include "glib.h"
 
index a289f05..18a398e 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+#include "config.h"
+
 #undef G_LOG_DOMAIN
 #include "glib.h"
 #define GSPAWN_HELPER
 #include "gspawn-win32.c"      /* For shared definitions */
 
+
 static GString *debugstring;
 
 static void
index 3950063..ab6eb2d 100644 (file)
@@ -39,6 +39,8 @@
 
 #include <config.h>
 
+#include "config.h"
+
 #include "glib.h"
 #include "gprintfint.h"
 
index b360871..165d995 100644 (file)
@@ -20,9 +20,8 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
 
-#include "glib.h"
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/wait.h>
@@ -36,6 +35,8 @@
 #include <sys/select.h>
 #endif /* HAVE_SYS_SELECT_H */
 
+#include "glib.h"
+
 #include "glibintl.h"
 
 static gint g_execute (const gchar  *file,
index 4f74f78..dab2504 100644 (file)
@@ -28,9 +28,7 @@
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #define _GNU_SOURCE            /* For stpcpy */
 
@@ -44,6 +42,7 @@
 #if !defined (HAVE_STRSIGNAL) || !defined(NO_SYS_SIGLIST_DECL)
 #include <signal.h>
 #endif
+
 #include "glib.h"
 #include "gprintfint.h"
 
index c92c5a1..4321496 100644 (file)
@@ -28,9 +28,7 @@
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
+
 #include "glib.h"
 
+
 struct _GStringChunk
 {
   GHashTable *const_table;
index e06fc28..149781e 100644 (file)
@@ -33,7 +33,6 @@
  */
 
 #include "config.h"
-#include "glib.h"
 
 #ifdef G_THREAD_USE_PID_SURROGATE
 #include <sys/types.h>
@@ -48,6 +47,9 @@
 
 #include <string.h>
 
+#include "glib.h"
+
+
 #if GLIB_SIZEOF_SYSTEM_THREAD == SIZEOF_VOID_P
 # define g_system_thread_equal_simple(thread1, thread2)                        \
    ((thread1).dummy_pointer == (thread2).dummy_pointer)
index 25a9cd0..39cdd0f 100644 (file)
  * MT safe
  */
 
+#include "config.h"
+
 #include "glib.h"
 
+
 typedef struct _GRealThreadPool GRealThreadPool;
 
 struct _GRealThreadPool
index 30e249e..250a1ef 100644 (file)
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
-#include "glib.h"
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif /* HAVE_UNISTD_H */
@@ -46,6 +43,9 @@
 #include <windows.h>
 #endif /* G_OS_WIN32 */
 
+#include "glib.h"
+
+
 struct _GTimer
 {
 #ifdef G_OS_WIN32
index 2e4f99a..0fd3f4d 100644 (file)
@@ -28,9 +28,7 @@
  * MT safe
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include "glib.h"
 
index dddca45..2875706 100644 (file)
  *   Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
+
+#include <stdlib.h>
 
 #include "glib.h"
 #include "gunibreak.h"
 
-#include <stdlib.h>
-
 
 #define TPROP(Page, Char) \
   ((break_property_table[Page] >= G_UNICODE_MAX_TABLE_INDEX) \
index c33a70d..efea3f7 100644 (file)
@@ -18,6 +18,8 @@
  *   Boston, MA 02111-1307, USA.
  */
 
+#include "config.h"
+
 #include <locale.h>
 #include <string.h>
 #ifdef __STDC_ISO_10646__
index fd0648b..5c6fc3d 100644 (file)
  *   Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
+
+#include <stdlib.h>
 
 #include "glib.h"
 #include "gunidecomp.h"
 #include "gunicomp.h"
 
-#include <stdlib.h>
 
 #define CC(Page, Char) \
   ((combining_class_table[Page] >= G_UNICODE_MAX_TABLE_INDEX) \
index bb420c3..503df3c 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
-
-#include "glib.h"
-#include "gunichartables.h"
+#include "config.h"
 
 #include <stddef.h>
 #include <string.h>
 #include <locale.h>
 
+#include "glib.h"
+#include "gunichartables.h"
+
+
 #define ATTTABLE(Page, Char) \
   ((attr_table[Page] == G_UNICODE_MAX_TABLE_INDEX) ? 0 : (attr_data[attr_table[Page]][Char]))
 
index 71761cb..ad60e9a 100644 (file)
@@ -28,9 +28,7 @@
  * MT safe for the unix part, FIXME: make the win32 part MT safe as well.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
index 7960417..9df2c6d 100644 (file)
@@ -29,9 +29,7 @@
  * MT safe for the unix part, FIXME: make the win32 part MT safe as well.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
 
 #include "glibconfig.h"