summaryrefslogtreecommitdiffstats
path: root/lib/libedit/prompt.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-03-06 21:32:54 +0000
committerpfg <pfg@FreeBSD.org>2016-03-06 21:32:54 +0000
commit6f5b3c1fa3e9554a26cbf6401366ff8b0f0506fe (patch)
treed0cf340e5e8da21b579217126ee95772c2a99baf /lib/libedit/prompt.h
parent6e035b81175ff50ed064a8dd1d5bf9100b0d0711 (diff)
downloadFreeBSD-src-6f5b3c1fa3e9554a26cbf6401366ff8b0f0506fe.zip
FreeBSD-src-6f5b3c1fa3e9554a26cbf6401366ff8b0f0506fe.tar.gz
Revert r296175
Undo update of libedit 2016-02-27 Something in libedit appears to be causing breakage in lldb38. The changes are not generally huge but they are suficient to to justify reverting for now. Reported by: novel, bapt
Diffstat (limited to 'lib/libedit/prompt.h')
-rw-r--r--lib/libedit/prompt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libedit/prompt.h b/lib/libedit/prompt.h
index 5e14b76..260c818 100644
--- a/lib/libedit/prompt.h
+++ b/lib/libedit/prompt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: prompt.h,v 1.13 2016/02/17 19:47:49 christos Exp $ */
+/* $NetBSD: prompt.h,v 1.10 2009/12/30 22:37:40 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -41,13 +41,15 @@
#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