File tree 3 files changed +28
-6
lines changed
3 files changed +28
-6
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/psql.c,v 1.27 1996/11/10 03:04:12 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.28 1996/11/11 05:55:30 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
26
26
#include "psqlHelp.h"
27
27
28
28
#ifdef NOREADLINE
29
- extern char * readline ( char * ); /* in rlstubs.c */
29
+ #include " rlstubs.h"
30
30
#else
31
31
/* from the GNU readline library */
32
32
#ifdef OLD_READLINE
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.2 1996/07/30 07:47:58 scrappy Exp $
10
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.c,v 1.3 1996/11/11 05:55:32 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
14
14
#include <stdio.h>
15
15
16
+ #include "rlstubs.h"
17
+
16
18
char *
17
19
readline (char * prompt )
18
20
{
@@ -23,19 +25,19 @@ readline(char *prompt)
23
25
}
24
26
25
27
int
26
- write_history ()
28
+ write_history (char * dum )
27
29
{
28
30
return 0 ;
29
31
}
30
32
31
33
int
32
- using_history ()
34
+ using_history (void )
33
35
{
34
36
return 0 ;
35
37
}
36
38
37
39
int
38
- add_history ()
40
+ add_history (char * dum )
39
41
{
40
42
return 0 ;
41
43
}
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * rlstubs.h
4
+ * stub routines when compiled without readline and history libraries
5
+ *
6
+ * Copyright (c) 1994-5, Regents of the University of California
7
+ *
8
+ *
9
+ * IDENTIFICATION
10
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/rlstubs.h,v 1.1 1996/11/11 05:55:33 momjian Exp $
11
+ *
12
+ *-------------------------------------------------------------------------
13
+ */
14
+ extern char * readline (char * prompt );
15
+
16
+ extern int write_history (char * dum );
17
+
18
+ extern int using_history (void );
19
+
20
+ extern int add_history (char * dum );
You can’t perform that action at this time.
0 commit comments