diff --git a/src/bin/psql/rlstubs.c b/src/bin/psql/rlstubs.c index 05d527da690b272eaabbf30fc169decf3543a1c1..788757cadb54c4421502a6f1cae8233767d46474 100644 --- a/src/bin/psql/rlstubs.c +++ b/src/bin/psql/rlstubs.c @@ -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; } diff --git a/src/bin/psql/rlstubs.h b/src/bin/psql/rlstubs.h index c9334eaca1c8a2d566c0a80539eead5dad89aad9..49f7ef747c96cf6d9749f00f2132a81f75e90752 100644 --- a/src/bin/psql/rlstubs.h +++ b/src/bin/psql/rlstubs.h @@ -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);