From bbd1addf8f9452690ad13ce5b875ee4cc9633958 Mon Sep 17 00:00:00 2001 From: mp Date: Sun, 11 Jul 2004 02:17:56 +0000 Subject: Import of tcsh-6.13.00 --- contrib/tcsh/ed.refresh.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'contrib/tcsh/ed.refresh.c') 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() -- cgit v1.1