[Pcsclite-cvs-commit] CVS PCSC/src

CVS User rousseau ludovic.rousseau@free.fr
Wed, 23 Feb 2005 06:10:11 -0700


Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv11127

Modified Files:
	debuglog.c 
Log Message:
use "const int" instead of "int" for priority


--- /cvsroot/pcsclite/PCSC/src/debuglog.c	2005/02/22 14:21:58	1.28
+++ /cvsroot/pcsclite/PCSC/src/debuglog.c	2005/02/23 13:10:11	1.29
@@ -7,7 +7,7 @@
  *  David Corcoran <corcoran@linuxnet.com>
  *  Ludovic Rousseau <ludovic.rousseau@free.fr>
  *
- * $Id: debuglog.c,v 1.28 2005/02/22 14:21:58 rousseau Exp $
+ * $Id: debuglog.c,v 1.29 2005/02/23 13:10:11 rousseau Exp $
  */
 
 #include "config.h"
@@ -38,7 +38,7 @@
 /* default level is a bit verbose to be backward compatible */
 static int log_level = PCSC_LOG_INFO;
 
-void log_msg(int priority, const char *fmt, ...)
+void log_msg(const int priority, const char *fmt, ...)
 {
 	char DebugBuffer[DEBUG_BUF_SIZE];
 	va_list argptr;
@@ -91,7 +91,8 @@
 	}
 } /* log_msg */
 
-void log_xxd(int priority, const char *msg, const unsigned char *buffer, const int len)
+void log_xxd(const int priority, const char *msg, const unsigned char *buffer,
+	const int len)
 {
 	char DebugBuffer[DEBUG_BUF_SIZE];
 	int i;