Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit99b9928

Browse files
Harmonize pg_bsd_indent parameter names.
Make sure that function declarations use names that exactly match thecorresponding names from function definitions in pg_bsd_indent.This commit was written with help from clang-tidy, by mechanicallyapplying the same rules as similar clean-up commits.Discussion:https://postgr.es/m/CAH2-WzkaBS8w-vCbG5M5Bx7XikC0WhNLJV_+Z_YAWW9Kef6OBQ@mail.gmail.com
1 parent6207f08 commit99b9928

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.c8.1 (Berkeley) 6/6/93";
6868
#defineSTDIN3/* use stdin */
6969
#defineKEY4/* type (keyword) */
7070

71-
staticvoidscan_profile(FILE*);
71+
staticvoidscan_profile(FILE*f);
7272

7373
#defineKEY_FILE5/* only used for args */
7474
#defineVERSION6/* 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.c5.17 (Berkeley) 6/7/93";
5454
#include"indent.h"
5555

5656
staticvoidbakcopy(void);
57-
staticvoidindent_declaration(int,int);
57+
staticvoidindent_declaration(intcur_dec_ind,inttabs_to_var);
5858

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp