summaryrefslogtreecommitdiff
path: root/atspi/atspi-accessible-private.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-12-06 20:44:48 -0600
committerFederico Mena Quintero <federico@gnome.org>2022-12-06 20:50:13 -0600
commitb10fcf21b1ef49dd3d6297ac657434ece3b23578 (patch)
treed560f8449f3ae75fea343887dcb6d5f4df7b434c /atspi/atspi-accessible-private.h
parentbf4d71a38b970699f63ce7b701e9bf4c9d31f717 (diff)
downloadat-spi2-core-b10fcf21b1ef49dd3d6297ac657434ece3b23578.tar.gz
Reformat all the *.[ch] files with clang-format
I ran this on each directory with C files: clang-format -i *.[ch] "-i" is the in-place option. I also adjusted the order of #includes for some files which failed to build after that: Clang-format reorders blocks of #include directives alphabetically, but they can be grouped and separated by blank lines. If there is a blank line between blocks, like #include "zork.h" #include "bar.h" #include "foo.h" then it will not put zork.h after the other two. The last two header files will be sorted alphabetically. We can adjust the formatting of chunks of code by hand with comments like these: /* clang-format off */ this code { is, formatted, by, hand; } /* clang-format on */ See https://clang.llvm.org/docs/ClangFormat.html for the general manual and https://clang.llvm.org/docs/ClangFormatStyleOptions.html for the style options and the comments described above.
Diffstat (limited to 'atspi/atspi-accessible-private.h')
-rw-r--r--atspi/atspi-accessible-private.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/atspi/atspi-accessible-private.h b/atspi/atspi-accessible-private.h
index e7e748b9..e92260ee 100644
--- a/atspi/atspi-accessible-private.h
+++ b/atspi/atspi-accessible-private.h
@@ -26,11 +26,13 @@
#ifndef _ATSPI_ACCESSIBLE_PRIVATE_H_
#define _ATSPI_ACCESSIBLE_PRIVATE_H_
-G_BEGIN_DECLS
+#include <glib.h>
#include "atspi-accessible.h"
#include "atspimarshal.h"
+G_BEGIN_DECLS
+
struct _AtspiAccessiblePrivate
{
GHashTable *cache;
@@ -44,4 +46,4 @@ void
_atspi_accessible_unref_cache (AtspiAccessible *accessible);
G_END_DECLS
-#endif /* _ATSPI_ACCESSIBLE_H_ */
+#endif /* _ATSPI_ACCESSIBLE_H_ */