summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/ed.refresh.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcsh/ed.refresh.c')
-rw-r--r--contrib/tcsh/ed.refresh.c19
1 files changed, 15 insertions, 4 deletions
diff --git a/contrib/tcsh/ed.refresh.c b/contrib/tcsh/ed.refresh.c
index ed05b8b..74028db 100644
--- a/contrib/tcsh/ed.refresh.c
+++ b/contrib/tcsh/ed.refresh.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/ed.refresh.c,v 3.29 2002/03/08 17:36:45 christos Exp $ */
+/* $Header: /src/pub/tcsh/ed.refresh.c,v 3.30 2003/02/08 20:03:25 christos Exp $ */
/*
* ed.refresh.c: Lower level screen refreshing functions
*/
@@ -32,7 +32,7 @@
*/
#include "sh.h"
-RCSID("$Id: ed.refresh.c,v 3.29 2002/03/08 17:36:45 christos Exp $")
+RCSID("$Id: ed.refresh.c,v 3.30 2003/02/08 20:03:25 christos Exp $")
#include "ed.h"
/* #define DEBUG_UPDATE */
@@ -52,7 +52,12 @@ static void update_line __P((Char *, Char *, int));
static void str_insert __P((Char *, int, int, Char *, int));
static void str_delete __P((Char *, int, int, int));
static void str_cp __P((Char *, Char *, int));
-static void PutPlusOne __P((int));
+#ifndef WINNT_NATIVE
+static
+#else
+extern
+#endif
+ void PutPlusOne __P((int));
static void cpy_pad_spaces __P((Char *, Char *, int));
#if defined(DSPMBYTE)
static Char *update_line_fix_mbyte_point __P((Char *, Char *, int));
@@ -272,7 +277,11 @@ RefreshPromptpart(buf)
* virtual image. The routine to re-draw a line can be replaced
* easily in hopes of a smarter one being placed there.
*/
-static int OldvcV = 0;
+#ifndef WINNT_NATIVE
+static
+#endif
+int OldvcV = 0;
+
void
Refresh()
{
@@ -1197,6 +1206,7 @@ RefCursor()
flush();
}
+#ifndef WINTT_NATIVE
static void
PutPlusOne(c)
int c;
@@ -1219,6 +1229,7 @@ PutPlusOne(c)
}
}
}
+#endif
void
RefPlusOne()
OpenPOWER on IntegriCloud