Module Name: src
Committed By: christos
Date: Wed Feb 24 18:28:54 UTC 2016
Modified Files:
src/lib/libedit: editline.3
Log Message:
Fixes from OpenBSD via Ingo Schwarze:
1) Missing comma after tok_str in NAME.
OpenBSD rev. 1.38 Sep 10, 2015 (schwarze)
2) Style: void in argument list.
OpenBSD rev. 1.39 Sep 14, 2015 (schwarze)
3) English punctuation: stray comma.
OpenBSD rev. 1.37 Mar 13, 2015 (jmc)
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/lib/libedit/editline.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libedit/editline.3
diff -u src/lib/libedit/editline.3:1.85 src/lib/libedit/editline.3:1.86
--- src/lib/libedit/editline.3:1.85 Tue Nov 3 16:36:59 2015
+++ src/lib/libedit/editline.3 Wed Feb 24 13:28:54 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: editline.3,v 1.85 2015/11/03 21:36:59 christos Exp $
+.\" $NetBSD: editline.3,v 1.86 2016/02/24 18:28:54 christos Exp $
.\"
.\" Copyright (c) 1997-2014 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -26,7 +26,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd November 3, 2015
+.Dd February 24, 2016
.Dt EDITLINE 3
.Os
.Sh NAME
@@ -70,7 +70,7 @@
.Nm tok_wreset ,
.Nm tok_line ,
.Nm tok_wline ,
-.Nm tok_str
+.Nm tok_str ,
.Nm tok_wstr
.Nd line editor, history and tokenization functions
.Sh LIBRARY
@@ -128,9 +128,9 @@
.Ft void
.Fn el_wdeletestr "EditLine *e" "int count"
.Ft History *
-.Fn history_init
+.Fn history_init void
.Ft HistoryW *
-.Fn history_winit
+.Fn history_winit void
.Ft void
.Fn history_end "History *h"
.Ft void
@@ -744,7 +744,7 @@ to the last new element of the history.
.It Dv H_ENTER , Fa "const char *str"
Add
.Fa str
-as a new element to the history, and, if necessary,
+as a new element to the history and, if necessary,
removing the oldest entry to keep the list to the created size.
If
.Dv H_SETUNIQUE