Fix __CTRACE arguments.
This commit is contained in:
parent
e6286b949a
commit
7c12a98041
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: clrtoeol.c,v 1.17 2003/08/07 16:44:19 agc Exp $ */
|
/* $NetBSD: clrtoeol.c,v 1.18 2003/10/05 08:26:02 jdc Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1981, 1993, 1994
|
* Copyright (c) 1981, 1993, 1994
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)clrtoeol.c 8.2 (Berkeley) 5/4/94";
|
static char sccsid[] = "@(#)clrtoeol.c 8.2 (Berkeley) 5/4/94";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: clrtoeol.c,v 1.17 2003/08/07 16:44:19 agc Exp $");
|
__RCSID("$NetBSD: clrtoeol.c,v 1.18 2003/10/05 08:26:02 jdc Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
|
@ -93,8 +93,8 @@ wclrtoeol(WINDOW *win)
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
__CTRACE("CLRTOEOL: minx = %d, maxx = %d, firstch = %d, lastch = %d\n",
|
__CTRACE("CLRTOEOL: minx = %d, maxx = %d, firstch = %d, lastch = %d\n",
|
||||||
minx, maxx - win->lines[y]->line, *win->lines[y]->firstchp,
|
minx, (int) (maxx - win->lines[y]->line),
|
||||||
*win->lines[y]->lastchp);
|
*win->lines[y]->firstchp, *win->lines[y]->lastchp);
|
||||||
#endif
|
#endif
|
||||||
/* Update firstch and lastch for the line. */
|
/* Update firstch and lastch for the line. */
|
||||||
return (__touchline(win, y, x, (int) win->maxx - 1));
|
return (__touchline(win, y, x, (int) win->maxx - 1));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: color.c,v 1.25 2003/07/30 11:10:42 dsl Exp $ */
|
/* $NetBSD: color.c,v 1.26 2003/10/05 08:26:02 jdc Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
__RCSID("$NetBSD: color.c,v 1.25 2003/07/30 11:10:42 dsl Exp $");
|
__RCSID("$NetBSD: color.c,v 1.26 2003/10/05 08:26:02 jdc Exp $");
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "curses.h"
|
#include "curses.h"
|
||||||
|
@ -459,7 +459,7 @@ int
|
||||||
assume_default_colors(short fore, short back)
|
assume_default_colors(short fore, short back)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
__CTRACE("assume_default_colors: %d, %d, %d\n", fore, back);
|
__CTRACE("assume_default_colors: %d, %d\n", fore, back);
|
||||||
#endif
|
#endif
|
||||||
__default_pair.fore = fore;
|
__default_pair.fore = fore;
|
||||||
__default_pair.back = back;
|
__default_pair.back = back;
|
||||||
|
|
Loading…
Reference in New Issue