Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses Correct function prototypes in curses_backgrou...



details:   https://anonhg.NetBSD.org/src/rev/b099a44cff4a
branches:  trunk
changeset: 433708:b099a44cff4a
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Sep 29 11:23:18 2018 +0000

description:
Correct function prototypes in curses_background(3)

Fix prototypes for: bkgdset(3), wbkgd(3) and wbkgdset(3).

diffstat:

 lib/libcurses/curses_background.3 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r 669e03d5a1f0 -r b099a44cff4a lib/libcurses/curses_background.3
--- a/lib/libcurses/curses_background.3 Sat Sep 29 10:54:35 2018 +0000
+++ b/lib/libcurses/curses_background.3 Sat Sep 29 11:23:18 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: curses_background.3,v 1.6 2008/04/30 13:10:51 martin Exp $
+.\"    $NetBSD: curses_background.3,v 1.7 2018/09/29 11:23:18 kamil Exp $
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
 .\"
@@ -25,7 +25,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 15, 2006
+.Dd September 29, 2018
 .Dt CURSES_BACKGROUND 3
 .Os
 .Sh NAME
@@ -42,14 +42,14 @@
 .In curses.h
 .Ft int
 .Fn bkgd chtype
-.Ft int
+.Ft void
 .Fn bkgdset chtype
 .Ft chtype
 .Fn getbkgd "WINDOW *"
 .Ft int
-.Fn wbkgd chtype
-.Ft int
-.Fn wbkgdset chtype
+.Fn wbkgd "WINDOW *" chtype
+.Ft void
+.Fn wbkgdset "WINDOW *" chtype
 .Sh DESCRIPTION
 These functions manipulate the background attributes on
 .Dv stdscr



Home | Main Index | Thread Index | Old Index