[Pcsclite-cvs-commit] CVS Drivers/ccid/src

CVS User rousseau ludovic.rousseau@free.fr
Thu, 05 May 2005 10:05:02 +0000


Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory haydn:/tmp/cvs-serv23952

Modified Files:
	ifdhandler.c 
Log Message:
do not #include <math.h> since we now use +1 instead of ceil() to round
the calculated timeouts to the upper integer
- we do not need an mathematical exact value. the {usb,serial}read must
  just not timeout before the reader firmware timeouts
- we avoid a dependency/link on the math library


--- /cvsroot/pcsclite/Drivers/ccid/src/ifdhandler.c	2005/05/05 10:01:17	1.76
+++ /cvsroot/pcsclite/Drivers/ccid/src/ifdhandler.c	2005/05/05 10:05:02	1.77
@@ -17,12 +17,11 @@
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 */
 
-/* $Id: ifdhandler.c,v 1.76 2005/05/05 10:01:17 rousseau Exp $ */
+/* $Id: ifdhandler.c,v 1.77 2005/05/05 10:05:02 rousseau Exp $ */
 
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#include <math.h>
 #include <PCSC/pcsclite.h>
 #include <PCSC/ifdhandler.h>