[obvious] Align decl and def arguments.

Message ID 26dc4e91-5bfa-6611-dbe3-fb0c8c5dd596@suse.cz
State New
Headers show
Series
  • [obvious] Align decl and def arguments.
Related show

Commit Message

Martin Liška April 19, 2021, 9:21 a.m.
Pushed as obvious.

Martin

gcc/ChangeLog:

	PR c/100143
	* gengtype.c (finish_root_table): Align function arguments
	in between declaration and definition.
---
 gcc/gengtype.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.31.1

Patch

diff --git a/gcc/gengtype.c b/gcc/gengtype.c
index 5f50242e857..98d4626f87e 100644
--- a/gcc/gengtype.c
+++ b/gcc/gengtype.c
@@ -2438,8 +2438,8 @@  static void write_local (outf_p output_header,
 static int contains_scalar_p (type_p t);
 static void put_mangled_filename (outf_p, const input_file *);
 static void finish_root_table (struct flist *flp, const char *pfx,
-			       const char *tname, const char *lastname,
-			       const char *name);
+			       const char *lastname,
+			       const char *tname, const char *name);
 static void write_root (outf_p, pair_p, type_p, const char *, int,
 			struct fileloc *, bool);
 static void write_array (outf_p f, pair_p v,