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

Commit06e6573

Browse files
committed
Fix function headers not matching prototype in header file, per
compiler warnings on msvc.
1 parent206378e commit06e6573

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/bin/psql/print.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.107 2008/05/18 06:50:08 adunstan Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.108 2008/05/21 16:00:10 mha Exp $
77
*/
88
#include"postgres_fe.h"
99

@@ -1978,7 +1978,7 @@ ClosePager(FILE *pagerpipe)
19781978
*/
19791979
void
19801980
printTableInit(printTableContent*constcontent,constprintTableOpt*opt,
1981-
constchar*title,intncolumns,intnrows)
1981+
constchar*title,constintncolumns,constintnrows)
19821982
{
19831983
content->opt=opt;
19841984
content->title=title;
@@ -2016,7 +2016,7 @@ printTableInit(printTableContent *const content, const printTableOpt *opt,
20162016
*/
20172017
void
20182018
printTableAddHeader(printTableContent*constcontent,constchar*header,
2019-
booltranslate,charalign)
2019+
constbooltranslate,constcharalign)
20202020
{
20212021
#ifndefENABLE_NLS
20222022
(void)translate;/* unused parameter */
@@ -2053,7 +2053,7 @@ printTableAddHeader(printTableContent *const content, const char *header,
20532053
*/
20542054
void
20552055
printTableAddCell(printTableContent*constcontent,constchar*cell,
2056-
booltranslate)
2056+
constbooltranslate)
20572057
{
20582058
#ifndefENABLE_NLS
20592059
(void)translate;/* unused parameter */
@@ -2133,7 +2133,7 @@ printTableSetFooter(printTableContent *const content, const char *footer)
21332133
* printTableInit() again.
21342134
*/
21352135
void
2136-
printTableCleanup(printTableContent*content)
2136+
printTableCleanup(printTableContent*constcontent)
21372137
{
21382138
free(content->headers);
21392139
free(content->cells);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp