diff options
author | Peter Geoghegan <pg@bowt.ie> | 2024-06-12 18:04:10 -0400 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2024-06-12 18:04:10 -0400 |
commit | 99b99285e5438ee8b0c065db58e87e6577158d22 (patch) | |
tree | abcc510bfeda719e637380a8f14740397ea64f3e | |
parent | 6207f08f700ddc874765919202727fb0171b5403 (diff) | |
download | postgresql-99b99285e5438ee8b0c065db58e87e6577158d22.tar.gz postgresql-99b99285e5438ee8b0c065db58e87e6577158d22.zip |
Harmonize pg_bsd_indent parameter names.
Make sure that function declarations use names that exactly match the
corresponding names from function definitions in pg_bsd_indent.
This commit was written with help from clang-tidy, by mechanically
applying the same rules as similar clean-up commits.
Discussion: https://postgr.es/m/CAH2-WzkaBS8w-vCbG5M5Bx7XikC0WhNLJV_+Z_YAWW9Kef6OBQ@mail.gmail.com
-rw-r--r-- | src/tools/pg_bsd_indent/args.c | 2 | ||||
-rw-r--r-- | src/tools/pg_bsd_indent/indent.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/pg_bsd_indent/args.c b/src/tools/pg_bsd_indent/args.c index 38eaa5a5bf2..5fa7e6b038c 100644 --- a/src/tools/pg_bsd_indent/args.c +++ b/src/tools/pg_bsd_indent/args.c @@ -68,7 +68,7 @@ static char sccsid[] = "@(#)args.c 8.1 (Berkeley) 6/6/93"; #define STDIN 3 /* use stdin */ #define KEY 4 /* type (keyword) */ -static void scan_profile(FILE *); +static void scan_profile(FILE *f); #define KEY_FILE 5 /* only used for args */ #define VERSION 6 /* only used for args */ diff --git a/src/tools/pg_bsd_indent/indent.c b/src/tools/pg_bsd_indent/indent.c index 923fc34b858..2622cc6227a 100644 --- a/src/tools/pg_bsd_indent/indent.c +++ b/src/tools/pg_bsd_indent/indent.c @@ -54,7 +54,7 @@ static char sccsid[] = "@(#)indent.c 5.17 (Berkeley) 6/7/93"; #include "indent.h" static void bakcopy(void); -static void indent_declaration(int, int); +static void indent_declaration(int cur_dec_ind, int tabs_to_var); const char *in_name = "Standard Input"; /* will always point to name of input * file */ |