diff --git a/curspriv.h b/curspriv.h index 8e02456f..69f118fd 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.102 2006/07/28 09:24:40 wmcbrine Exp $ */ +/* $Id: curspriv.h,v 1.103 2006/07/28 20:53:09 wmcbrine Exp $ */ /* CURSPRIV.H @@ -96,7 +96,7 @@ int PDC_get_cursor_mode(void); int PDC_get_font(void); int PDC_get_rows(void); int PDC_get_buffer_rows(void); -int PDC_gotoyx(int, int); +void PDC_gotoyx(int, int); void PDC_init_atrtab(void); WINDOW *PDC_makenew(int, int, int, int); int PDC_mouse_in_slk(int, int); diff --git a/dos/pdcdisp.c b/dos/pdcdisp.c index e2736c74..7bf331b3 100644 --- a/dos/pdcdisp.c +++ b/dos/pdcdisp.c @@ -19,7 +19,7 @@ #include -RCSID("$Id: pdcdisp.c,v 1.44 2006/07/28 19:08:24 wmcbrine Exp $"); +RCSID("$Id: pdcdisp.c,v 1.45 2006/07/28 20:53:09 wmcbrine Exp $"); extern unsigned char atrtab[MAX_ATRTAB]; @@ -46,15 +46,12 @@ void movedata(unsigned sseg, unsigned soff, unsigned dseg, screen. We don't optimize here -- on a PC, it takes more time to optimize than to do things directly. - PDCurses Return Value: - This function returns OK on success and ERR on error. - Portability: - PDCurses int PDC_gotoyx(int row, int col); + PDCurses void PDC_gotoyx(int row, int col); **man-end****************************************************************/ -int PDC_gotoyx(int row, int col) +void PDC_gotoyx(int row, int col) { PDC_LOG(("PDC_gotoyx() - called: row %d col %d\n", row, col)); @@ -63,8 +60,6 @@ int PDC_gotoyx(int row, int col) regs.h.dh = (unsigned char) row; regs.h.dl = (unsigned char) col; int86(0x10, ®s, ®s); - - return OK; } /*man-start************************************************************** diff --git a/os2/pdcdisp.c b/os2/pdcdisp.c index cd40da43..ec956e63 100644 --- a/os2/pdcdisp.c +++ b/os2/pdcdisp.c @@ -19,7 +19,7 @@ #include #include -RCSID("$Id: pdcdisp.c,v 1.30 2006/07/28 09:24:40 wmcbrine Exp $"); +RCSID("$Id: pdcdisp.c,v 1.31 2006/07/28 20:53:09 wmcbrine Exp $"); extern unsigned char atrtab[MAX_ATRTAB]; @@ -34,15 +34,12 @@ extern unsigned char atrtab[MAX_ATRTAB]; We don't optimize here -- on a PC, it takes more time to optimize than to do things directly. - PDCurses Return Value: - This function returns OK on success and ERR on error. - Portability: - PDCurses int PDC_gotoyx(int row, int col); + PDCurses void PDC_gotoyx(int row, int col); **man-end****************************************************************/ -int PDC_gotoyx(int row, int col) +void PDC_gotoyx(int row, int col) { PDC_LOG(("PDC_gotoyx() - called: row %d col %d\n", row, col)); @@ -51,7 +48,6 @@ int PDC_gotoyx(int row, int col) #else VioSetCurPos(row, col, 0); #endif - return OK; } /*man-start************************************************************** diff --git a/win32/pdcdisp.c b/win32/pdcdisp.c index 1d0a214f..d59788f7 100644 --- a/win32/pdcdisp.c +++ b/win32/pdcdisp.c @@ -24,7 +24,7 @@ extern HANDLE hConOut; extern unsigned char atrtab[MAX_ATRTAB]; -RCSID("$Id: pdcdisp.c,v 1.29 2006/07/28 09:24:40 wmcbrine Exp $"); +RCSID("$Id: pdcdisp.c,v 1.30 2006/07/28 20:53:09 wmcbrine Exp $"); /*man-start************************************************************** @@ -37,15 +37,12 @@ RCSID("$Id: pdcdisp.c,v 1.29 2006/07/28 09:24:40 wmcbrine Exp $"); We don't optimize here -- on a PC, it takes more time to optimize than to do things directly. - PDCurses Return Value: - This function returns OK on success and ERR on error. - Portability: - PDCurses int PDC_gotoyx(int row, int col); + PDCurses void PDC_gotoyx(int row, int col); **man-end****************************************************************/ -int PDC_gotoyx(int row, int col) +void PDC_gotoyx(int row, int col) { COORD coord; @@ -56,8 +53,6 @@ int PDC_gotoyx(int row, int col) coord.Y = row; SetConsoleCursorPosition(hConOut, coord); - - return OK; } /*man-start************************************************************** diff --git a/x11/pdcdisp.c b/x11/pdcdisp.c index 842ac451..35c7be68 100644 --- a/x11/pdcdisp.c +++ b/x11/pdcdisp.c @@ -19,7 +19,7 @@ #include -RCSID("$Id: pdcdisp.c,v 1.31 2006/07/28 19:32:07 wmcbrine Exp $"); +RCSID("$Id: pdcdisp.c,v 1.32 2006/07/28 20:53:09 wmcbrine Exp $"); int PDC_display_cursor(int oldrow, int oldcol, int newrow, int newcol, int visibility) @@ -73,22 +73,17 @@ int PDC_display_cursor(int oldrow, int oldcol, int newrow, int newcol, screen. We don't optimize here -- on a PC, it takes more time to optimize than to do things directly. - PDCurses Return Value: - This function returns OK on success and ERR on error. - Portability: - PDCurses int PDC_gotoyx(int row, int col); + PDCurses void PDC_gotoyx(int row, int col); **man-end****************************************************************/ -int PDC_gotoyx(int row, int col) +void PDC_gotoyx(int row, int col) { PDC_LOG(("PDC_gotoyx() - called: row %d col %d\n", row, col)); PDC_display_cursor(SP->cursrow, SP->curscol, row, col, SP->visibility); - - return OK; } /*man-start**************************************************************