From b10fcf21b1ef49dd3d6297ac657434ece3b23578 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 6 Dec 2022 20:44:48 -0600 Subject: 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. --- atspi/atspi-accessible-private.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'atspi/atspi-accessible-private.h') 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 #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_ */ -- cgit v1.2.1