$NetBSD: patch-ad,v 1.2 2000/05/09 22:07:17 tron Exp $ --- remote.c.orig Tue May 9 22:02:55 2000 +++ remote.c Tue May 9 22:03:18 2000 @@ -55,8 +55,6 @@ /* ******************** Local defines ************** */ -#ifndef __NetBSD__ - /* FIXME: Remove this old code someday */ #ifdef 0 # define OLD_DEV_SYSMOUSE_STUFF @@ -579,8 +577,6 @@ Remote_fd = -1; } -#endif /* !__NetBSD__ */ - /**@BEGINFUNC************************************************************** @@ -609,7 +605,6 @@ void TVX10REMOTEOpen( XtAppContext app_ctx, TVREMOTE_CB_FUNCT *cb ) { -#ifndef __NetBSD__ int fd, flags; #ifdef OLD_DEV_SYSMOUSE_STUFF @@ -704,7 +699,6 @@ /* Arrange to get called when we exit the app */ atexit( TVX10REMOTEClose ); -#endif /* !__NetBSD__ */ } @@ -733,7 +727,6 @@ void TVX10REMOTEFlush( void ) { -#ifndef __NetBSD__ unsigned char btn; /* Do nothing if we didn't open the remote */ @@ -748,7 +741,6 @@ break; RMPRINTF(( "TVX10REMOTE: Flushing buffer (key = %d)\n", btn )); } -#endif /* !__NetBSD__ */ }