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

rousseau at alioth.debian.org rousseau at alioth.debian.org
Wed May 30 09:44:22 UTC 2007


Author: rousseau
Date: 2007-05-30 09:44:22 +0000 (Wed, 30 May 2007)
New Revision: 2555

Modified:
   trunk/PCSC/src/debuglog.c
Log:
declare prototypes of debug_msg() and debug_xxd() to avoid
debuglog.c:265: warning: no previous prototype for ?\226?\128?\152debug_msg?\226?\128?\153


Modified: trunk/PCSC/src/debuglog.c
===================================================================
--- trunk/PCSC/src/debuglog.c	2007-05-30 09:41:49 UTC (rev 2554)
+++ trunk/PCSC/src/debuglog.c	2007-05-30 09:44:22 UTC (rev 2555)
@@ -261,6 +261,7 @@
  * defined only for pcscd
  */
 #ifdef PCSCD
+void debug_msg(const char *fmt, ...);
 void debug_msg(const char *fmt, ...)
 {
 	char DebugBuffer[DEBUG_BUF_SIZE];
@@ -290,6 +291,7 @@
 		fprintf(stderr, "%s\n", DebugBuffer);
 } /* debug_msg */
 
+void debug_xxd(const char *msg, const unsigned char *buffer, const int len);
 void debug_xxd(const char *msg, const unsigned char *buffer, const int len)
 {
 	log_xxd(PCSC_LOG_ERROR, msg, buffer, len);




More information about the Pcsclite-cvs-commit mailing list