diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-12-27 23:43:14 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-12-27 23:43:14 -0500 |
commit | e1b99b2ddcf21f5dab26ad74afa6935eaf70028e (patch) | |
tree | 100335f4c2ef9e04d58964389985b8f71a98b58a /gio/gdatainputstream.h | |
parent | 89d48d7800a21db1b94c09644bc68b84cda1940b (diff) |
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
Diffstat (limited to 'gio/gdatainputstream.h')
-rw-r--r-- | gio/gdatainputstream.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gio/gdatainputstream.h b/gio/gdatainputstream.h index 0f205c65e..9612f1864 100644 --- a/gio/gdatainputstream.h +++ b/gio/gdatainputstream.h @@ -20,13 +20,13 @@ * Author: Alexander Larsson <alexl@redhat.com> */ +#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 |