aboutsummaryrefslogtreecommitdiff
path: root/net/pmf/files/patch-ad
blob: e40f2721b7a0eb75f8777293baf332d117b22b8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- main.c.orig	Sun Sep 22 12:13:43 1991
+++ main.c	Fri Feb 11 04:14:00 2000
@@ -37,7 +37,7 @@
     extern int stop_printing();
     extern int continue_printing();
 
-    extern int last_c_pos;
+    extern int _rl_last_c_pos;
 #endif
 
 /* Longjmp buffer, jump there after error() or CTRL-C */
@@ -58,7 +58,7 @@
 	ldisplay("\n");
 	ldisplay("%s", rl_line_buffer);
 	rl_redisplay(count, key);
-	last_c_pos = rl_end;
+	_rl_last_c_pos = rl_end;
     }
 #endif