fix 'conflicting types' errors

This commit is contained in:
Marc G. Fournier 1996-11-11 14:55:49 +00:00
parent b99e3b0ccc
commit 64f80c76d8
2 changed files with 7 additions and 10 deletions

View File

@ -7,7 +7,7 @@
*
*
* 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
write_history(char *dum)
write_history(const char *dum)
{
return 0;
}
@ -42,7 +42,7 @@ using_history(void)
}
int
add_history(char *dum)
add_history(const char *dum)
{
return 0;
}

View File

@ -7,14 +7,11 @@
*
*
* 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 int write_history(char *dum);
extern char *readline(const char *prompt);
extern int write_history(const char *dum);
extern int using_history(void);
extern int add_history(char *dum);
extern int add_history(const char *dum);