diff options
Diffstat (limited to 'lib/libsectok/todos_atr.c')
-rw-r--r-- | lib/libsectok/todos_atr.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libsectok/todos_atr.c b/lib/libsectok/todos_atr.c index 151428fb13f..1619da0548b 100644 --- a/lib/libsectok/todos_atr.c +++ b/lib/libsectok/todos_atr.c @@ -5,7 +5,7 @@ * * Jim Rees, University of Michigan CITI */ -static char *rcsid = "$Id: todos_atr.c,v 1.1 2001/06/07 15:17:33 rees Exp $"; +static char *rcsid = "$Id: todos_atr.c,v 1.2 2001/06/07 16:10:00 rees Exp $"; #ifdef __palmos__ #include <Common.h> @@ -23,6 +23,10 @@ static char *rcsid = "$Id: todos_atr.c,v 1.1 2001/06/07 15:17:33 rees Exp $"; #include "sectok.h" #include "todos_scrw.h" +#ifdef __unix__ +#define SCPPS +#endif + /* * 7816 says ATR will appear within 40000 clocks (12 msec) * BUT some cards violate the spec and require more time @@ -129,9 +133,9 @@ static struct bps { int todos_get_atr(int ttyn, int flags, unsigned char *atr, struct scparam *param) { - int len, i, c, t, ts, t0, tck, nhb, pbn; + int len, i, t, ts, t0, tck, nhb, pbn; int F, D, Fi, Di, N, etu, WI; - unsigned char *ap, *hb; + unsigned char *ap; unsigned char tpb[8][4]; int hiproto = 0; |