From a5ccbb93c61087f14f6328292f3dafde168909a5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 23 Jan 2010 18:37:24 +0000 Subject: [PATCH] punt some disabled UNUSED cruft git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1709 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 2 ++ urjtag/include/urjtag/bitmask.h | 21 --------------------- urjtag/include/urjtag/fclock.h | 5 ----- 3 files changed, 2 insertions(+), 26 deletions(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index dc2c54a5..bafa7cb2 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -28,6 +28,8 @@ * configure.ac: Unify duplicated coding statements with AC_DEFUN to simplify adding new busses/cables/lowlevel drivers. + * include/urjtag/bitmask.h, include/urjtag/fclock.h: Punt UNUSED cruft. + 2010-01-22 Mike Frysinger * src/cmd/cmd_bit.c (cmd_bit_print_params): Fix strncat length handling. diff --git a/urjtag/include/urjtag/bitmask.h b/urjtag/include/urjtag/bitmask.h index 982e748d..61f407eb 100644 --- a/urjtag/include/urjtag/bitmask.h +++ b/urjtag/include/urjtag/bitmask.h @@ -38,27 +38,6 @@ #ifndef URJ_BITMASK_H #define URJ_BITMASK_H -#ifdef UNUSED /* RFHH */ -/* @@@@ RFHH remove? */ -#ifndef LANGUAGE -# ifdef __ASSEMBLY__ -# define LANGUAGE ASM -# else -# define LANGUAGE C -# endif -#endif - -/* @@@@ RFHH remove? */ -#ifndef ASM -#define ASM 0 -#endif - -/* @@@@ RFHH remove? */ -#ifndef C -#define C 1 -#endif -#endif /* def UNUSED */ - #define URJ_MAX_BITS_ABS_VAL 1024 #define URJ_BITS_ABS(a) (((((a) + URJ_MAX_BITS_ABS_VAL) / URJ_MAX_BITS_ABS_VAL) * 2 - 1) * (a)) #define URJ_BITS_MIN(a,b) (((a) + (b) - URJ_BITS_ABS((a) - (b))) / 2) diff --git a/urjtag/include/urjtag/fclock.h b/urjtag/include/urjtag/fclock.h index 63b6cd86..5c2da788 100644 --- a/urjtag/include/urjtag/fclock.h +++ b/urjtag/include/urjtag/fclock.h @@ -45,11 +45,6 @@ extern "C" time*/ long double urj_lib_frealtime (CVOID); -#ifdef UNUSED /* RFHH */ -/* return the CPU time used by this process (seconds) */ -long double fcputime (CVOID); -#endif - #ifdef __cplusplus }