forked from GNOME/glib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move single-include guards inside include guards
gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
- Loading branch information
Matthias Clasen
committed
Dec 28, 2012
1 parent
89d48d7
commit e1b99b2
Showing
216 changed files
with
648 additions
and
648 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,13 +19,13 @@ | |
* Authors: Ryan Lortie <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_ACTION_H__ | ||
#define __G_ACTION_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_ACTION_H__ | ||
#define __G_ACTION_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,13 +19,13 @@ | |
* Authors: Ryan Lortie <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_ACTION_GROUP_H__ | ||
#define __G_ACTION_GROUP_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_ACTION_GROUP_H__ | ||
#define __G_ACTION_GROUP_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,13 +19,13 @@ | |
* Authors: Ryan Lortie <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_ACTION_MAP_H__ | ||
#define __G_ACTION_MAP_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_ACTION_MAP_H__ | ||
#define __G_ACTION_MAP_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_APP_INFO_H__ | ||
#define __G_APP_INFO_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_APP_INFO_H__ | ||
#define __G_APP_INFO_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,13 +19,13 @@ | |
* Authors: Ryan Lortie <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_APPLICATION_H__ | ||
#define __G_APPLICATION_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_APPLICATION_H__ | ||
#define __G_APPLICATION_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Authors: Ryan Lortie <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_APPLICATION_COMMAND_LINE_H__ | ||
#define __G_APPLICATION_COMMAND_LINE_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_APPLICATION_COMMAND_LINE_H__ | ||
#define __G_APPLICATION_COMMAND_LINE_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_ASYNC_INITABLE_H__ | ||
#define __G_ASYNC_INITABLE_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_ASYNC_INITABLE_H__ | ||
#define __G_ASYNC_INITABLE_H__ | ||
|
||
#include <gio/giotypes.h> | ||
#include <gio/ginitable.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_ASYNC_RESULT_H__ | ||
#define __G_ASYNC_RESULT_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_ASYNC_RESULT_H__ | ||
#define __G_ASYNC_RESULT_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Christian Kellner <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_BUFFERED_INPUT_STREAM_H__ | ||
#define __G_BUFFERED_INPUT_STREAM_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_BUFFERED_INPUT_STREAM_H__ | ||
#define __G_BUFFERED_INPUT_STREAM_H__ | ||
|
||
#include <gio/gfilterinputstream.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Christian Kellner <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_BUFFERED_OUTPUT_STREAM_H__ | ||
#define __G_BUFFERED_OUTPUT_STREAM_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_BUFFERED_OUTPUT_STREAM_H__ | ||
#define __G_BUFFERED_OUTPUT_STREAM_H__ | ||
|
||
#include <gio/gfilteroutputstream.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_CANCELLABLE_H__ | ||
#define __G_CANCELLABLE_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_CANCELLABLE_H__ | ||
#define __G_CANCELLABLE_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_CHARSET_CONVERTER_H__ | ||
#define __G_CHARSET_CONVERTER_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_CHARSET_CONVERTER_H__ | ||
#define __G_CHARSET_CONVERTER_H__ | ||
|
||
#include <gio/gconverter.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_CONTENT_TYPE_H__ | ||
#define __G_CONTENT_TYPE_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_CONTENT_TYPE_H__ | ||
#define __G_CONTENT_TYPE_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_CONVERTER_H__ | ||
#define __G_CONVERTER_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_CONVERTER_H__ | ||
#define __G_CONVERTER_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_CONVERTER_INPUT_STREAM_H__ | ||
#define __G_CONVERTER_INPUT_STREAM_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_CONVERTER_INPUT_STREAM_H__ | ||
#define __G_CONVERTER_INPUT_STREAM_H__ | ||
|
||
#include <gio/gfilterinputstream.h> | ||
#include <gio/gconverter.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_CONVERTER_OUTPUT_STREAM_H__ | ||
#define __G_CONVERTER_OUTPUT_STREAM_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_CONVERTER_OUTPUT_STREAM_H__ | ||
#define __G_CONVERTER_OUTPUT_STREAM_H__ | ||
|
||
#include <gio/gfilteroutputstream.h> | ||
#include <gio/gconverter.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: David Zeuthen <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_CREDENTIALS_H__ | ||
#define __G_CREDENTIALS_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_CREDENTIALS_H__ | ||
#define __G_CREDENTIALS_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
#ifdef G_OS_UNIX | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_DATA_INPUT_STREAM_H__ | ||
#define __G_DATA_INPUT_STREAM_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_DATA_INPUT_STREAM_H__ | ||
#define __G_DATA_INPUT_STREAM_H__ | ||
|
||
#include <gio/gbufferedinputstream.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: Alexander Larsson <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_DATA_OUTPUT_STREAM_H__ | ||
#define __G_DATA_OUTPUT_STREAM_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_DATA_OUTPUT_STREAM_H__ | ||
#define __G_DATA_OUTPUT_STREAM_H__ | ||
|
||
#include <gio/gfilteroutputstream.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Authors: Ryan Lortie <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_DBUS_ACTION_GROUP_H__ | ||
#define __G_DBUS_ACTION_GROUP_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_DBUS_ACTION_GROUP_H__ | ||
#define __G_DBUS_ACTION_GROUP_H__ | ||
|
||
#include "giotypes.h" | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: David Zeuthen <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_DBUS_ADDRESS_H__ | ||
#define __G_DBUS_ADDRESS_H__ | ||
|
||
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) | ||
#error "Only <gio/gio.h> can be included directly." | ||
#endif | ||
|
||
#ifndef __G_DBUS_ADDRESS_H__ | ||
#define __G_DBUS_ADDRESS_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Author: David Zeuthen <[email protected]> | ||
*/ | ||
|
||
#ifndef __G_DBUS_AUTH_H__ | ||
#define __G_DBUS_AUTH_H__ | ||
|
||
#if !defined (GIO_COMPILATION) | ||
#error "gdbusauth.h is a private header file." | ||
#endif | ||
|
||
#ifndef __G_DBUS_AUTH_H__ | ||
#define __G_DBUS_AUTH_H__ | ||
|
||
#include <gio/giotypes.h> | ||
|
||
G_BEGIN_DECLS | ||
|
Oops, something went wrong.