From c4a6115e78f845da022a2b310f2bd01bd61dcd10 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sun, 16 Jul 2006 01:26:23 +0000 Subject: [PATCH] Moved PDC_slk_calc() prototype to slk.c. --- curspriv.h | 3 +-- pdcurses/slk.c | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/curspriv.h b/curspriv.h index 215341ba..88648c77 100644 --- a/curspriv.h +++ b/curspriv.h @@ -15,7 +15,7 @@ * See the file maintain.er for details of the current maintainer. * ************************************************************************/ -/* $Id: curspriv.h,v 1.87 2006/07/16 00:45:15 wmcbrine Exp $ */ +/* $Id: curspriv.h,v 1.88 2006/07/16 01:26:23 wmcbrine Exp $ */ /* CURSPRIV.H @@ -122,7 +122,6 @@ int PDC_set_ctrl_break(bool); int PDC_set_cursor_mode(int, int); int PDC_set_font(int); int PDC_set_rows(int); -void PDC_slk_calc(void); void PDC_sync(WINDOW *); int PDC_sysgetch(void); void PDC_transform_line(int); diff --git a/pdcurses/slk.c b/pdcurses/slk.c index 2a7be2d9..8a0dea52 100644 --- a/pdcurses/slk.c +++ b/pdcurses/slk.c @@ -33,7 +33,7 @@ #undef slk_attroff #undef slk_color -RCSID("$Id: slk.c,v 1.23 2006/06/19 03:36:38 wmcbrine Exp $"); +RCSID("$Id: slk.c,v 1.24 2006/07/16 01:26:23 wmcbrine Exp $"); /*man-start************************************************************** @@ -118,6 +118,7 @@ static int label_line = 0; void (*PDC_initial_slk)(void); static void PDC_slk_init(void); +static void PDC_slk_calc(void); static struct { char label[32]; @@ -487,7 +488,7 @@ static void PDC_slk_init(void) touchwin(SP->slk_winptr); } -void PDC_slk_calc(void) +static void PDC_slk_calc(void) { int i, center, col = 0;