diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-11-11 14:55:49 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-11-11 14:55:49 +0000 |
commit | 64f80c76d8ead6603bf5c27ce63e359fc8f44394 (patch) | |
tree | 2a7cadd06ec29e4ab49114ccab5463aa3975532e | |
parent | b99e3b0cccc7daa27ed911cb43714535f82e850f (diff) | |
download | postgresql-64f80c76d8ead6603bf5c27ce63e359fc8f44394.tar.gz postgresql-64f80c76d8ead6603bf5c27ce63e359fc8f44394.zip |
fix 'conflicting types' errors
-rw-r--r-- | src/bin/psql/rlstubs.c | 6 | ||||
-rw-r--r-- | src/bin/psql/rlstubs.h | 11 |
2 files changed, 7 insertions, 10 deletions
diff --git a/src/bin/psql/rlstubs.c b/src/bin/psql/rlstubs.c index 05d527da690..788757cadb5 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 c9334eaca1c..49f7ef747c9 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); |