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
This commit is contained in:
Peter Geoghegan 2024-06-12 18:04:10 -04:00
parent 6207f08f70
commit 99b99285e5
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */