diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-10-01 08:41:27 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-10-01 08:41:27 +0000 |
commit | 3c195773444850fbd9cf231761a4f76eaf863e5a (patch) | |
tree | f9436ba88ca8f8420af319b0a12dd175381b507b /lib/libedit/refresh.h | |
parent | c3aa3459b1000cef0734f66507785c13a7083e2a (diff) | |
download | src-3c195773444850fbd9cf231761a4f76eaf863e5a.tar.gz src-3c195773444850fbd9cf231761a4f76eaf863e5a.zip |
+ Sync with NetBSD, bringing in feature enhancements.
+ Convert to ANSI-C function definitions
+ style(9)
Submitted by: kris
Notes
Notes:
svn path=/head/; revision=84260
Diffstat (limited to 'lib/libedit/refresh.h')
-rw-r--r-- | lib/libedit/refresh.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/lib/libedit/refresh.h b/lib/libedit/refresh.h index 4fe50bc9aa31..516f3ad2825c 100644 --- a/lib/libedit/refresh.h +++ b/lib/libedit/refresh.h @@ -34,27 +34,30 @@ * SUCH DAMAGE. * * @(#)refresh.h 8.1 (Berkeley) 6/4/93 + * $NetBSD: refresh.h,v 1.3 2000/09/04 22:06:32 lukem Exp $ + * $FreeBSD$ */ /* * el.refresh.h: Screen refresh functions */ #ifndef _h_el_refresh -#define _h_el_refresh +#define _h_el_refresh #include "histedit.h" typedef struct { - coord_t r_cursor; /* Refresh cursor position */ - int r_oldcv, r_newcv; /* Vertical locations */ + coord_t r_cursor; /* Refresh cursor position */ + int r_oldcv; /* Vertical locations */ + int r_newcv; } el_refresh_t; -protected void re_putc __P((EditLine *, int)); -protected void re_clear_lines __P((EditLine *)); -protected void re_clear_display __P((EditLine *)); -protected void re_refresh __P((EditLine *)); -protected void re_refresh_cursor __P((EditLine *)); -protected void re_fastaddc __P((EditLine *)); -protected void re_goto_bottom __P((EditLine *)); +protected void re_putc(EditLine *, int, int); +protected void re_clear_lines(EditLine *); +protected void re_clear_display(EditLine *); +protected void re_refresh(EditLine *); +protected void re_refresh_cursor(EditLine *); +protected void re_fastaddc(EditLine *); +protected void re_goto_bottom(EditLine *); #endif /* _h_el_refresh */ |