summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2023-11-08 23:24:46 -0600
committerBrian Smith <brian@dbsoft.org>2023-11-08 23:24:46 -0600
commitbcc531f53b94c6f05a65da0a104e2444c38ff91e (patch)
tree0657b1d75d2e6bb0b9b46d8c295d6cf3a8a10e75
parent007b998b23e424420b4019ff4546dcaa1d95cac9 (diff)
downloaduxp-bcc531f53b94c6f05a65da0a104e2444c38ff91e.tar.gz
Issue #2281 - Follow-up: Don't include headers in extern "C".
In C++17 mode using GCC 13 on Linux this is causing C linkage to be applied to the throw_gcc.h functions instead of C++.
-rw-r--r--other-licenses/atk-1.0/atk/atkobject.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/other-licenses/atk-1.0/atk/atkobject.h b/other-licenses/atk-1.0/atk/atkobject.h
index 987f2cefce..de9da63134 100644
--- a/other-licenses/atk-1.0/atk/atkobject.h
+++ b/other-licenses/atk-1.0/atk/atkobject.h
@@ -20,14 +20,14 @@
#ifndef __ATK_OBJECT_H__
#define __ATK_OBJECT_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#include <glib-object.h>
#include <atk/atkstate.h>
#include <atk/atkrelationtype.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* AtkObject represents the minimum information all accessible objects
* return. This information includes accessible name, accessible