diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-03-14 04:26:57 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-14 04:26:57 +0000 |
commit | 608a31b98e1420f487190871ee7312db2643d93d (patch) | |
tree | 07095626ee002738e323deb5eda4d1246129d13b /glib/gqsort.c | |
parent | 96913f7a507db5cd75e360b5f49423635d9b2660 (diff) | |
download | glib-608a31b98e1420f487190871ee7312db2643d93d.tar.gz |
Make PLT-reduction work with gcc4, and don't include everything in
2005-03-13 Matthias Clasen <mclasen@redhat.com>
Make PLT-reduction work with gcc4, and don't include
everything in galias.h:
* glib/glib.symbols: Group symbols by header and source file.
* glib/makegalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegalias.pl -def
* glib/Makefile.am (galiasdef.c): Add a rule to generate this
file.
* glib/*.c: Include galias.h after the other GLib headers,
include galiasdef.c at the bottom.
Diffstat (limited to 'glib/gqsort.c')
-rw-r--r-- | glib/gqsort.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/glib/gqsort.c b/glib/gqsort.c index 0e8c0741f..176d44a93 100644 --- a/glib/gqsort.c +++ b/glib/gqsort.c @@ -38,8 +38,8 @@ #include <stdlib.h> #include <string.h> -#include "galias.h" #include "glib.h" +#include "galias.h" /* Byte-wise swap two items of size SIZE. */ #define SWAP(a, b, size) \ @@ -282,3 +282,6 @@ g_qsort_with_data (gconstpointer pbase, } } } + +#define __G_QSORT_C__ +#include "galiasdef.c" |