summaryrefslogtreecommitdiffstats
path: root/lib/libedit/terminal.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2017-02-20 03:33:59 +0000
committerpfg <pfg@FreeBSD.org>2017-02-20 03:33:59 +0000
commit90692e8243d9334f92182299ee401dc0a90965e2 (patch)
treed5cbabb64df66f2169ffabac4e42167e5a6ce02b /lib/libedit/terminal.h
parent3c4b6c4becf1f0078e5df17d458c36274d426a68 (diff)
downloadFreeBSD-src-90692e8243d9334f92182299ee401dc0a90965e2.zip
FreeBSD-src-90692e8243d9334f92182299ee401dc0a90965e2.tar.gz
MFC r312997, r313002:
Re-import libedit 2016-02-27 and update libedit with changes from NetBSD's 2016-03-21. Obtained from: NetBSD
Diffstat (limited to 'lib/libedit/terminal.h')
-rw-r--r--lib/libedit/terminal.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libedit/terminal.h b/lib/libedit/terminal.h
index f26f5e1..9c66c19 100644
--- a/lib/libedit/terminal.h
+++ b/lib/libedit/terminal.h
@@ -1,4 +1,4 @@
-/* $NetBSD: terminal.h,v 1.4 2012/03/24 20:09:30 christos Exp $ */
+/* $NetBSD: terminal.h,v 1.7 2016/02/16 15:53:48 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -41,8 +41,6 @@
#ifndef _h_el_terminal
#define _h_el_terminal
-#include "histedit.h"
-
typedef struct { /* Symbolic function key bindings */
const Char *name; /* name of the key */
int key; /* Index in termcap table */
@@ -105,8 +103,8 @@ protected int terminal_settc(EditLine *, int, const Char **);
protected int terminal_gettc(EditLine *, int, char **);
protected int terminal_telltc(EditLine *, int, const Char **);
protected int terminal_echotc(EditLine *, int, const Char **);
-protected void terminal_writec(EditLine *, Int);
-protected int terminal__putc(EditLine *, Int);
+protected void terminal_writec(EditLine *, wint_t);
+protected int terminal__putc(EditLine *, wint_t);
protected void terminal__flush(EditLine *);
/*
OpenPOWER on IntegriCloud