diff options
author | mp <mp@FreeBSD.org> | 2004-07-11 02:17:56 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2004-07-11 02:17:56 +0000 |
commit | bbd1addf8f9452690ad13ce5b875ee4cc9633958 (patch) | |
tree | 730792f0cc19f3bb4fb663fe727589381f5901be /contrib/tcsh/ed.refresh.c | |
parent | f2c2aa29b7d05c53575ab7ce4dc5870fd33a1310 (diff) | |
download | FreeBSD-src-bbd1addf8f9452690ad13ce5b875ee4cc9633958.zip FreeBSD-src-bbd1addf8f9452690ad13ce5b875ee4cc9633958.tar.gz |
Import of tcsh-6.13.00
Diffstat (limited to 'contrib/tcsh/ed.refresh.c')
-rw-r--r-- | contrib/tcsh/ed.refresh.c | 19 |
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() |