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: use_default_colors()...



details:   https://anonhg.NetBSD.org/src/rev/4af89904a9b0
branches:  trunk
changeset: 1023405:4af89904a9b0
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Sep 06 02:48:54 2021 +0000

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

diffstat:

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

diffs (27 lines):

diff -r 6a78ecc3ef78 -r 4af89904a9b0 lib/libcurses/color.c
--- a/lib/libcurses/color.c     Mon Sep 06 02:43:36 2021 +0000
+++ b/lib/libcurses/color.c     Mon Sep 06 02:48:54 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: color.c,v 1.41 2017/01/06 13:53:18 roy Exp $   */
+/*     $NetBSD: color.c,v 1.42 2021/09/06 02:48:54 rin Exp $   */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: color.c,v 1.41 2017/01/06 13:53:18 roy Exp $");
+__RCSID("$NetBSD: color.c,v 1.42 2021/09/06 02:48:54 rin Exp $");
 #endif                         /* not lint */
 
 #include "curses.h"
@@ -439,7 +439,7 @@
  *     Use terminal default colours instead of curses default colour.
   */
 int
-use_default_colors()
+use_default_colors(void)
 {
 #ifdef DEBUG
        __CTRACE(__CTRACE_COLOR, "use_default_colors\n");



Home | Main Index | Thread Index | Old Index