[Pcsclite-cvs-commit] r2255 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at alioth.debian.org
Sat Dec 2 18:08:01 CET 2006


Author: rousseau
Date: 2006-12-02 18:08:01 +0100 (Sat, 02 Dec 2006)
New Revision: 2255

Modified:
   trunk/Drivers/ccid/src/ccid.c
   trunk/Drivers/ccid/src/ccid.h
Log:
ccid_error(): "char *file" argument -> "const char *file"


Modified: trunk/Drivers/ccid/src/ccid.c
===================================================================
--- trunk/Drivers/ccid/src/ccid.c	2006-12-02 17:03:26 UTC (rev 2254)
+++ trunk/Drivers/ccid/src/ccid.c	2006-12-02 17:08:01 UTC (rev 2255)
@@ -241,7 +241,7 @@
  *					ccid_error
  *
  ****************************************************************************/
-void ccid_error(int error, char *file, int line, const char *function)
+void ccid_error(int error, const char *file, int line, const char *function)
 {
 	const char *text;
 	char var_text[20];

Modified: trunk/Drivers/ccid/src/ccid.h
===================================================================
--- trunk/Drivers/ccid/src/ccid.h	2006-12-02 17:03:26 UTC (rev 2254)
+++ trunk/Drivers/ccid/src/ccid.h	2006-12-02 17:08:01 UTC (rev 2255)
@@ -160,7 +160,7 @@
 #define VOLTAGE_1_8V 3
 
 int ccid_open_hack(unsigned int reader_index);
-void ccid_error(int error, char *file, int line, const char *function);
+void ccid_error(int error, const char *file, int line, const char *function);
 _ccid_descriptor *get_ccid_descriptor(unsigned int reader_index);
 
 /* convert a 4 byte integer in USB format into an int */




More information about the Pcsclite-cvs-commit mailing list