Skip to content

Commit 99b9928

Browse files
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
1 parent 6207f08 commit 99b9928

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/pg_bsd_indent/args.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static char sccsid[] = "@(#)args.c 8.1 (Berkeley) 6/6/93";
6868
#define STDIN 3 /* use stdin */
6969
#define KEY 4 /* type (keyword) */
7070

71-
static void scan_profile(FILE *);
71+
static void scan_profile(FILE *f);
7272

7373
#define KEY_FILE 5 /* only used for args */
7474
#define VERSION 6 /* only used for args */

src/tools/pg_bsd_indent/indent.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static char sccsid[] = "@(#)indent.c 5.17 (Berkeley) 6/7/93";
5454
#include "indent.h"
5555

5656
static void bakcopy(void);
57-
static void indent_declaration(int, int);
57+
static void indent_declaration(int cur_dec_ind, int tabs_to_var);
5858

5959
const char *in_name = "Standard Input"; /* will always point to name of input
6060
* file */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy