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 /glib/gtestutils.h | |
parent | 89d48d7800a21db1b94c09644bc68b84cda1940b (diff) | |
download | glib-e1b99b2ddcf21f5dab26ad74afa6935eaf70028e.tar.gz |
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 'glib/gtestutils.h')
-rw-r--r-- | glib/gtestutils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/gtestutils.h b/glib/gtestutils.h index 372151922..977852f15 100644 --- a/glib/gtestutils.h +++ b/glib/gtestutils.h @@ -18,13 +18,13 @@ * Boston, MA 02111-1307, USA. */ +#ifndef __G_TEST_UTILS_H__ +#define __G_TEST_UTILS_H__ + #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION) #error "Only <glib.h> can be included directly." #endif -#ifndef __G_TEST_UTILS_H__ -#define __G_TEST_UTILS_H__ - #include <glib/gmessages.h> #include <glib/gstring.h> #include <glib/gerror.h> |