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

Commit64f80c7

Browse files
committed
fix 'conflicting types' errors
1 parentb99e3b0 commit64f80c7

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

‎src/bin/psql/rlstubs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.c,v 1.4 1996/11/1112:14:21 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.c,v 1.5 1996/11/11 14:55:47 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -30,7 +30,7 @@ readline(const char *prompt)
3030
}
3131

3232
int
33-
write_history(char*dum)
33+
write_history(constchar*dum)
3434
{
3535
return0;
3636
}
@@ -42,7 +42,7 @@ using_history(void)
4242
}
4343

4444
int
45-
add_history(char*dum)
45+
add_history(constchar*dum)
4646
{
4747
return0;
4848
}

‎src/bin/psql/rlstubs.h

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.h,v 1.1 1996/11/1105:55:33 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.h,v 1.2 1996/11/1114:55:49 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14-
externchar*readline(char*prompt);
15-
16-
externintwrite_history(char*dum);
17-
14+
externchar*readline(constchar*prompt);
15+
externintwrite_history(constchar*dum);
1816
externintusing_history(void);
19-
20-
externintadd_history(char*dum);
17+
externintadd_history(constchar*dum);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp