From e9402b29c15af90c2c012fbaa2a91be9afff3fae Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sat, 15 Jul 2006 16:07:06 +0000 Subject: [PATCH] Removed empty implementations of PDC_fix_cursor(). To Do: Complete removal? --- os2/pdcdisp.c | 34 +--------------------------------- win32/curses.def | 1 - win32/curses_lcc.def | 1 - win32/pdcdisp.c | 34 +--------------------------------- 4 files changed, 2 insertions(+), 68 deletions(-) diff --git a/os2/pdcdisp.c b/os2/pdcdisp.c index c6bfe214..3386b31f 100644 --- a/os2/pdcdisp.c +++ b/os2/pdcdisp.c @@ -19,7 +19,7 @@ #include #include -RCSID("$Id: pdcdisp.c,v 1.25 2006/07/15 15:38:24 wmcbrine Exp $"); +RCSID("$Id: pdcdisp.c,v 1.26 2006/07/15 16:07:05 wmcbrine Exp $"); extern unsigned char atrtab[MAX_ATRTAB]; @@ -83,38 +83,6 @@ int PDC_cursor_off(void) return OK; } -/*man-start************************************************************** - - PDC_fix_cursor() - Fix the cursor start and stop scan lines - (if necessary) - - PDCurses Description: - This is a private PDCurses routine. - - This routine will fix the cursor shape for certain video - adapters. Normally, the values used are correct, but some - adapters choke. The most noticable choke is on a monochrome - adapter. The "correct" scan lines will result in the cursor - being set in the middle of the character cell, rather than at - the bottom. - - The passed flag indicates whether the cursor is visible or not. - - This only applies to the DOS platform. - - PDCurses Return Value: - This function returns OK on success and ERR on error. - - Portability: - PDCurses int PDC_fix_cursor(int flag); - -**man-end****************************************************************/ - -int PDC_fix_cursor(int flag) -{ - return OK; -} - /*man-start************************************************************** PDC_gotoxy() - position hardware cursor at (x, y) diff --git a/win32/curses.def b/win32/curses.def index 95084f8a..e52ebdf1 100644 --- a/win32/curses.def +++ b/win32/curses.def @@ -276,7 +276,6 @@ EXPORTS PDC_copy_win EXPORTS PDC_cursor_off EXPORTS PDC_cursor_on EXPORTS PDC_debug -EXPORTS PDC_fix_cursor EXPORTS PDC_getch EXPORTS PDC_getclipboard EXPORTS PDC_get_attribute diff --git a/win32/curses_lcc.def b/win32/curses_lcc.def index 148305b6..34486228 100644 --- a/win32/curses_lcc.def +++ b/win32/curses_lcc.def @@ -269,7 +269,6 @@ PDC_copy_win PDC_cursor_off PDC_cursor_on PDC_debug -PDC_fix_cursor PDC_getch PDC_getclipboard PDC_get_attribute diff --git a/win32/pdcdisp.c b/win32/pdcdisp.c index 3fcecc98..e0f7a3ea 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.24 2006/07/15 15:38:24 wmcbrine Exp $"); +RCSID("$Id: pdcdisp.c,v 1.25 2006/07/15 16:07:06 wmcbrine Exp $"); /*man-start************************************************************** @@ -93,38 +93,6 @@ int PDC_cursor_off(void) return OK; } -/*man-start************************************************************** - - PDC_fix_cursor() - Fix the cursor start and stop scan lines - (if necessary) - - PDCurses Description: - This is a private PDCurses routine. - - This routine will fix the cursor shape for certain video - adapters. Normally, the values used are correct, but some - adapters choke. The most noticable choke is on a monochrome - adapter. The "correct" scan lines will result in the cursor - being set in the middle of the character cell, rather than at - the bottom. - - The passed flag indicates whether the cursor is visible or not. - - This only applies to the DOS platform. - - PDCurses Return Value: - This function returns OK on success and ERR on error. - - Portability: - PDCurses int PDC_fix_cursor(int flag); - -**man-end****************************************************************/ - -int PDC_fix_cursor(int flag) -{ - return OK; -} - /*man-start************************************************************** PDC_gotoxy() - position hardware cursor at (x, y)