Skip to content

Commit

Permalink
Use canonical include form for internal headers. config.h is always t…
Browse files Browse the repository at this point in the history
…here.

2006-05-09  Sebastian Wilhelmi  <[email protected]>

	* glib/gprintf.c, glib/gspawn-win32.c, glib/gutf8.c,
	gthread/gthread-impl.c, gthread/gthread-posix.c,
	gthread/gthread-win32.c: Use canonical include form for internal
	headers. config.h is always there.
  • Loading branch information
seppide authored and Sebastian Wilhelmi committed May 9, 2006
1 parent 3668e63 commit 3073914
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 15 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2006-05-09 Sebastian Wilhelmi <[email protected]>

* glib/gprintf.c, glib/gspawn-win32.c, glib/gutf8.c,
gthread/gthread-impl.c, gthread/gthread-posix.c,
gthread/gthread-win32.c: Use canonical include form for internal
headers. config.h is always there.

* Remove obsolete gthread/gthread-solaris.c.

2006-05-08 Matthias Clasen <[email protected]>
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog.pre-2-12
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2006-05-09 Sebastian Wilhelmi <[email protected]>

* glib/gprintf.c, glib/gspawn-win32.c, glib/gutf8.c,
gthread/gthread-impl.c, gthread/gthread-posix.c,
gthread/gthread-win32.c: Use canonical include form for internal
headers. config.h is always there.

* Remove obsolete gthread/gthread-solaris.c.

2006-05-08 Matthias Clasen <[email protected]>
Expand Down
4 changes: 1 addition & 3 deletions glib/gprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
* Boston, MA 02111-1307, USA.
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "config.h"

#define _GNU_SOURCE /* For vasprintf */

Expand Down
2 changes: 1 addition & 1 deletion glib/gspawn-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
/* Define this to get some logging all the time */
/* #define G_SPAWN_WIN32_DEBUG */

#include <config.h>
#include "config.h"

#include "glib.h"
#include "gprintfint.h"
Expand Down
2 changes: 1 addition & 1 deletion glib/gutf8.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Boston, MA 02111-1307, USA.
*/

#include <config.h>
#include "config.h"

#include <stdlib.h>
#ifdef HAVE_CODESET
Expand Down
8 changes: 3 additions & 5 deletions gthread/gthread-impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@
* MT safe
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "config.h"

#include <glib.h>
#include <gthreadinit.h>
#include "glib.h"
#include "gthreadinit.h"

#ifdef G_THREADS_ENABLED

Expand Down
2 changes: 1 addition & 1 deletion gthread/gthread-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* MT safe
*/

#include <config.h>
#include "config.h"

#include <pthread.h>
#include <errno.h>
Expand Down
6 changes: 2 additions & 4 deletions gthread/gthread-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@
* MT safe
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "config.h"

#include <glib.h>
#include "glib.h"

#define STRICT
#define _WIN32_WINDOWS 0x0401 /* to get IsDebuggerPresent */
Expand Down

0 comments on commit 3073914

Please sign in to comment.