summaryrefslogtreecommitdiff
path: root/atk/atkstate.h
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-05-26 16:25:16 +0100
committerDaniel Boles <dboles.src@gmail.com>2017-05-26 16:35:01 +0100
commit36b5467eae56680d12335ab187d8c87a82393249 (patch)
treed7c5c9733f98e568a67bdfaa6eb32a1cc6784b6e /atk/atkstate.h
parent5db163b34710a1dcd2cfe11b1e2cfb597749f195 (diff)
downloadatk-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.h6
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>