提交 64f80c76 编写于 作者: M Marc G. Fournier

fix 'conflicting types' errors

上级 b99e3b0c
......@@ -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;
}
......@@ -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);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册