fix 'conflicting types' errors
This commit is contained in:
parent
b99e3b0ccc
commit
64f80c76d8
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.c,v 1.4 1996/11/11 12:14:21 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.c,v 1.5 1996/11/11 14:55:47 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -30,7 +30,7 @@ readline(const char *prompt)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
write_history(char *dum)
|
write_history(const char *dum)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -42,7 +42,7 @@ using_history(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
add_history(char *dum)
|
add_history(const char *dum)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -7,14 +7,11 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.h,v 1.1 1996/11/11 05:55:33 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.h,v 1.2 1996/11/11 14:55:49 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
extern char *readline(char *prompt);
|
extern char *readline(const char *prompt);
|
||||||
|
extern int write_history(const char *dum);
|
||||||
extern int write_history(char *dum);
|
|
||||||
|
|
||||||
extern int using_history(void);
|
extern int using_history(void);
|
||||||
|
extern int add_history(const char *dum);
|
||||||
extern int add_history(char *dum);
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user