From eefe721eadf78a5f68c38ea9ca0272c7be06e0c0 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Thu, 18 Mar 2021 12:37:52 +0000 Subject: libctf: fix GNU style for do {} while It's formatted like this: do { ... } while (...); Not like this: do { ... } while (...); or this: do { ... } while (...); We used both in various places in libctf. Fixing it necessitated some light reindentation. libctf/ChangeLog 2021-03-18 Nick Alcock * ctf-archive.c (ctf_archive_next): GNU style fix for do {} while. * ctf-dedup.c (ctf_dedup_rhash_type): Likewise. (ctf_dedup_rwalk_one_output_mapping): Likewise. * ctf-dump.c (ctf_dump_format_type): Likewise. * ctf-lookup.c (ctf_symbol_next): Likewise. * swap.h (swap_thing): Likewise. --- libctf/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libctf/ChangeLog') diff --git a/libctf/ChangeLog b/libctf/ChangeLog index 4e4e9af..f64493f 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,5 +1,14 @@ 2021-03-18 Nick Alcock + * ctf-archive.c (ctf_archive_next): GNU style fix for do {} while. + * ctf-dedup.c (ctf_dedup_rhash_type): Likewise. + (ctf_dedup_rwalk_one_output_mapping): Likewise. + * ctf-dump.c (ctf_dump_format_type): Likewise. + * ctf-lookup.c (ctf_symbol_next): Likewise. + * swap.h (swap_thing): Likewise. + +2021-03-18 Nick Alcock + * ctf-serialize.c: General reshuffling, and... (emit_symtypetab_state_t): New, migrated from local variables in ctf_serialize. -- cgit v1.1