[Pcsclite-cvs-commit] r2331 - trunk/PCSC/src

Ludovic Rousseau rousseau at alioth.debian.org
Thu Jan 11 17:54:52 CET 2007


Author: rousseau
Date: 2007-01-11 17:54:51 +0100 (Thu, 11 Jan 2007)
New Revision: 2331

Modified:
   trunk/PCSC/src/configfile.h
   trunk/PCSC/src/configfile.l
Log:
DBGetReaderList() prototype: use const char *readerconf instead of char
*


Modified: trunk/PCSC/src/configfile.h
===================================================================
--- trunk/PCSC/src/configfile.h	2007-01-11 16:54:16 UTC (rev 2330)
+++ trunk/PCSC/src/configfile.h	2007-01-11 16:54:51 UTC (rev 2331)
@@ -17,7 +17,7 @@
 {
 #endif
 
-	int DBGetReaderList(char *readerconf, SerialReader **caller_reader_list);
+	int DBGetReaderList(const char *readerconf, SerialReader **caller_reader_list);
 
 #ifdef __cplusplus
 }

Modified: trunk/PCSC/src/configfile.l
===================================================================
--- trunk/PCSC/src/configfile.l	2007-01-11 16:54:16 UTC (rev 2330)
+++ trunk/PCSC/src/configfile.l	2007-01-11 16:54:51 UTC (rev 2331)
@@ -201,7 +201,7 @@
 	badError = 1;
 }
 
-int DBGetReaderList(char *readerconf, SerialReader **caller_reader_list)
+int DBGetReaderList(const char *readerconf, SerialReader **caller_reader_list)
 {
 	FILE *configFile = NULL;
 




More information about the Pcsclite-cvs-commit mailing list