Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 64f80c7

Browse files
committed
fix 'conflicting types' errors
1 parent b99e3b0 commit 64f80c7

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

src/bin/psql/rlstubs.c

+3-3
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/11 12: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(const char *dum)
3434
{
3535
return 0;
3636
}
@@ -42,7 +42,7 @@ using_history(void)
4242
}
4343

4444
int
45-
add_history(char *dum)
45+
add_history(const char *dum)
4646
{
4747
return 0;
4848
}

src/bin/psql/rlstubs.h

+4-7
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/11 05:55:33 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.h,v 1.2 1996/11/11 14:55:49 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14-
extern char *readline(char *prompt);
15-
16-
extern int write_history(char *dum);
17-
14+
extern char *readline(const char *prompt);
15+
extern int write_history(const char *dum);
1816
extern int using_history(void);
19-
20-
extern int add_history(char *dum);
17+
extern int add_history(const char *dum);

0 commit comments

Comments
 (0)