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

rousseau at alioth.debian.org rousseau at alioth.debian.org
Tue May 29 13:18:09 UTC 2007


Author: rousseau
Date: 2007-05-29 13:18:09 +0000 (Tue, 29 May 2007)
New Revision: 2550

Modified:
   trunk/PCSC/src/utils.c
   trunk/PCSC/src/utils.h
Log:
move definition of PID_ASCII_SIZE from utils.c to utils.h


Modified: trunk/PCSC/src/utils.c
===================================================================
--- trunk/PCSC/src/utils.c	2007-05-24 09:58:34 UTC (rev 2549)
+++ trunk/PCSC/src/utils.c	2007-05-29 13:18:09 UTC (rev 2550)
@@ -33,7 +33,6 @@
 	 */
 	if ((f = fopen(USE_RUN_PID, "rb")) != NULL)
 	{
-#define PID_ASCII_SIZE 11
 		char pid_ascii[PID_ASCII_SIZE];
 
 		fgets(pid_ascii, PID_ASCII_SIZE, f);

Modified: trunk/PCSC/src/utils.h
===================================================================
--- trunk/PCSC/src/utils.h	2007-05-24 09:58:34 UTC (rev 2549)
+++ trunk/PCSC/src/utils.h	2007-05-29 13:18:09 UTC (rev 2550)
@@ -12,6 +12,7 @@
 
 #include "wintypes.h"
 
+#define PID_ASCII_SIZE 11
 pid_t GetDaemonPid(void);
 
 /* defined in winscard_clnt.c */




More information about the Pcsclite-cvs-commit mailing list