summaryrefslogtreecommitdiffstats
path: root/lib/libedit/prompt.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/prompt.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/prompt.h')
-rw-r--r--lib/libedit/prompt.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libedit/prompt.h b/lib/libedit/prompt.h
index 260c818..5e14b76 100644
--- a/lib/libedit/prompt.h
+++ b/lib/libedit/prompt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: prompt.h,v 1.10 2009/12/30 22:37:40 christos Exp $ */
+/* $NetBSD: prompt.h,v 1.13 2016/02/17 19:47:49 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -41,15 +41,13 @@
#ifndef _h_el_prompt
#define _h_el_prompt
-#include "histedit.h"
-
typedef Char *(*el_pfunc_t)(EditLine *);
typedef struct el_prompt_t {
el_pfunc_t p_func; /* Function to return the prompt */
coord_t p_pos; /* position in the line after prompt */
Char p_ignore; /* character to start/end literal */
- int p_wide;
+ int p_wide;
} el_prompt_t;
protected void prompt_print(EditLine *, int);
OpenPOWER on IntegriCloud