diff options
author | Daniel Boles <dboles@src.gnome.org> | 2017-05-26 16:25:16 +0100 |
---|---|---|
committer | Daniel Boles <dboles.src@gmail.com> | 2017-05-26 16:35:01 +0100 |
commit | 36b5467eae56680d12335ab187d8c87a82393249 (patch) | |
tree | d7c5c9733f98e568a67bdfaa6eb32a1cc6784b6e /atk/atkstate.h | |
parent | 5db163b34710a1dcd2cfe11b1e2cfb597749f195 (diff) | |
download | atk-36b5467eae56680d12335ab187d8c87a82393249.tar.gz |
Move include guards out to enable GCC optimisation
by ensuring the #ifndef GUARD_NAME and its #endif are the outermost
pieces of non-comment and non-whitespace content in the header file.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
Diffstat (limited to 'atk/atkstate.h')
-rw-r--r-- | atk/atkstate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/atk/atkstate.h b/atk/atkstate.h index 06b67c8..6a88567 100644 --- a/atk/atkstate.h +++ b/atk/atkstate.h @@ -17,13 +17,13 @@ * Boston, MA 02111-1307, USA. */ +#ifndef __ATK_STATE_H__ +#define __ATK_STATE_H__ + #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION) #error "Only <atk/atk.h> can be included directly." #endif -#ifndef __ATK_STATE_H__ -#define __ATK_STATE_H__ - #include <glib-object.h> #include <atk/atkversion.h> |