summaryrefslogtreecommitdiff
path: root/atk/atkdocument.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/atkdocument.h
parent5db163b34710a1dcd2cfe11b1e2cfb597749f195 (diff)
downloadat-spi2-core-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/atkdocument.h')
-rw-r--r--atk/atkdocument.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/atk/atkdocument.h b/atk/atkdocument.h
index aa38d3e8..0aed668f 100644
--- a/atk/atkdocument.h
+++ b/atk/atkdocument.h
@@ -17,13 +17,13 @@
* Boston, MA 02111-1307, USA.
*/
+#ifndef __ATK_DOCUMENT_H__
+#define __ATK_DOCUMENT_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_DOCUMENT_H__
-#define __ATK_DOCUMENT_H__
-
#include <atk/atkobject.h>
#include <atk/atkutil.h>