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)
This commit is contained in:
christos 2016-02-24 18:28:54 +00:00
parent 7a1819b192
commit 7fc140d15b
1 changed files with 6 additions and 6 deletions

View File

@ -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. .\" Copyright (c) 1997-2014 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -26,7 +26,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE. .\" POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd November 3, 2015 .Dd February 24, 2016
.Dt EDITLINE 3 .Dt EDITLINE 3
.Os .Os
.Sh NAME .Sh NAME
@ -70,7 +70,7 @@
.Nm tok_wreset , .Nm tok_wreset ,
.Nm tok_line , .Nm tok_line ,
.Nm tok_wline , .Nm tok_wline ,
.Nm tok_str .Nm tok_str ,
.Nm tok_wstr .Nm tok_wstr
.Nd line editor, history and tokenization functions .Nd line editor, history and tokenization functions
.Sh LIBRARY .Sh LIBRARY
@ -128,9 +128,9 @@
.Ft void .Ft void
.Fn el_wdeletestr "EditLine *e" "int count" .Fn el_wdeletestr "EditLine *e" "int count"
.Ft History * .Ft History *
.Fn history_init .Fn history_init void
.Ft HistoryW * .Ft HistoryW *
.Fn history_winit .Fn history_winit void
.Ft void .Ft void
.Fn history_end "History *h" .Fn history_end "History *h"
.Ft void .Ft void
@ -744,7 +744,7 @@ to the last new element of the history.
.It Dv H_ENTER , Fa "const char *str" .It Dv H_ENTER , Fa "const char *str"
Add Add
.Fa str .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. removing the oldest entry to keep the list to the created size.
If If
.Dv H_SETUNIQUE .Dv H_SETUNIQUE