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

Commitb9954fb

Browse files
author
Neil Conway
committed
Code cleanup for function prototypes: change two K&R-style prototypes
to ANSI-style, and change "()" -> "(void)". Patch from Stefan Huehner.
1 parent582e22a commitb9954fb

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

‎src/pl/plpgsql/src/pl_funcs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_funcs.c,v 1.57 2007/01/28 17:58:13 tgl Exp $
11+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_funcs.c,v 1.58 2007/03/18 05:36:49 neilc Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -474,7 +474,7 @@ plpgsql_stmt_typename(PLpgSQL_stmt *stmt)
474474
**********************************************************************/
475475
staticintdump_indent;
476476

477-
staticvoiddump_ind();
477+
staticvoiddump_ind(void);
478478
staticvoiddump_stmt(PLpgSQL_stmt*stmt);
479479
staticvoiddump_block(PLpgSQL_stmt_block*block);
480480
staticvoiddump_assign(PLpgSQL_stmt_assign*stmt);

‎src/port/qsort.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*CAUTION: if you change this file, see also qsort_arg.c
1111
*
12-
*$PostgreSQL: pgsql/src/port/qsort.c,v 1.12 2006/10/19 20:56:22 tgl Exp $
12+
*$PostgreSQL: pgsql/src/port/qsort.c,v 1.13 2007/03/18 05:36:50 neilc Exp $
1313
*/
1414

1515
/*$NetBSD: qsort.c,v 1.13 2003/08/07 16:43:42 agc Exp $*/
@@ -73,11 +73,7 @@ do {\
7373
(es) % sizeof(long) ? 2 : (es) == sizeof(long)? 0 : 1;
7474

7575
staticvoid
76-
swapfunc(a,b,n,swaptype)
77-
char*a,
78-
*b;
79-
size_tn;
80-
intswaptype;
76+
swapfunc(char*a,char*b,size_tn,intswaptype)
8177
{
8278
if (swaptype <=1)
8379
swapcode(long,a,b,n);

‎src/port/qsort_arg.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*CAUTION: if you change this file, see also qsort.c
1111
*
12-
*$PostgreSQL: pgsql/src/port/qsort_arg.c,v 1.3 2006/10/12 15:04:55 tgl Exp $
12+
*$PostgreSQL: pgsql/src/port/qsort_arg.c,v 1.4 2007/03/18 05:36:50 neilc Exp $
1313
*/
1414

1515
/*$NetBSD: qsort.c,v 1.13 2003/08/07 16:43:42 agc Exp $*/
@@ -73,11 +73,7 @@ do {\
7373
(es) % sizeof(long) ? 2 : (es) == sizeof(long)? 0 : 1;
7474

7575
staticvoid
76-
swapfunc(a,b,n,swaptype)
77-
char*a,
78-
*b;
79-
size_tn;
80-
intswaptype;
76+
swapfunc(char*a,char*b,size_tn,intswaptype)
8177
{
8278
if (swaptype <=1)
8379
swapcode(long,a,b,n);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp