summaryrefslogtreecommitdiff
path: root/atk/atkaction.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/atkaction.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/atkaction.h')
-rw-r--r--atk/atkaction.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/atk/atkaction.h b/atk/atkaction.h
index 3712806..1314071 100644
--- a/atk/atkaction.h
+++ b/atk/atkaction.h
@@ -17,13 +17,13 @@
* Boston, MA 02111-1307, USA.
*/
+#ifndef __ATK_ACTION_H__
+#define __ATK_ACTION_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_ACTION_H__
-#define __ATK_ACTION_H__
-
#include <atk/atkobject.h>
G_BEGIN_DECLS