File tree 2 files changed +7
-10
lines changed
2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.c,v 1.4 1996/11/11 12: 14:21 scrappy Exp $
10
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.c,v 1.5 1996/11/11 14:55:47 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -30,7 +30,7 @@ readline(const char *prompt)
30
30
}
31
31
32
32
int
33
- write_history (char * dum )
33
+ write_history (const char * dum )
34
34
{
35
35
return 0 ;
36
36
}
@@ -42,7 +42,7 @@ using_history(void)
42
42
}
43
43
44
44
int
45
- add_history (char * dum )
45
+ add_history (const char * dum )
46
46
{
47
47
return 0 ;
48
48
}
Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.h,v 1.1 1996/11/11 05 :55:33 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.h,v 1.2 1996/11/11 14 :55:49 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
14
- extern char * readline (char * prompt );
15
-
16
- extern int write_history (char * dum );
17
-
14
+ extern char * readline (const char * prompt );
15
+ extern int write_history (const char * dum );
18
16
extern int using_history (void );
19
-
20
- extern int add_history (char * dum );
17
+ extern int add_history (const char * dum );
You can’t perform that action at this time.
0 commit comments