Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Fix old-style definition: curses_version() -->...



details:   https://anonhg.NetBSD.org/src/rev/29ec46883262
branches:  trunk
changeset: 1023406:29ec46883262
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Sep 06 02:50:43 2021 +0000

description:
Fix old-style definition: curses_version() --> curses_version(void)

diffstat:

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

diffs (27 lines):

diff -r 4af89904a9b0 -r 29ec46883262 lib/libcurses/version.c
--- a/lib/libcurses/version.c   Mon Sep 06 02:48:54 2021 +0000
+++ b/lib/libcurses/version.c   Mon Sep 06 02:50:43 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: version.c,v 1.3 2019/09/03 13:43:34 roy Exp $  */
+/*     $NetBSD: version.c,v 1.4 2021/09/06 02:50:43 rin Exp $  */
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: version.c,v 1.3 2019/09/03 13:43:34 roy Exp $");
+__RCSID("$NetBSD: version.c,v 1.4 2021/09/06 02:50:43 rin Exp $");
 #endif
 
 #include "curses.h"
@@ -59,7 +59,7 @@
 #endif
 
 const char *
-curses_version()
+curses_version(void)
 {
 
        return "NetBSD-Curses" _CURSES_VERSION;



Home | Main Index | Thread Index | Old Index