[Pcsclite-cvs-commit] r4458 - in /trunk/PCSC/src: sys_generic.h sys_unix.c winscard_clnt.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Oct 8 12:30:56 UTC 2009


Author: rousseau
Date: Thu Oct  8 12:30:56 2009
New Revision: 4458

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4458
Log:
SYS_Initialize() does nothing. Remove it.

Modified:
    trunk/PCSC/src/sys_generic.h
    trunk/PCSC/src/sys_unix.c
    trunk/PCSC/src/winscard_clnt.c

Modified: trunk/PCSC/src/sys_generic.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/sys_generic.h?rev=4458&op=diff
==============================================================================
--- trunk/PCSC/src/sys_generic.h (original)
+++ trunk/PCSC/src/sys_generic.h Thu Oct  8 12:30:56 2009
@@ -22,8 +22,6 @@
 
 #include <sys/stat.h>
 #include <sys/mman.h>
-
-	int SYS_Initialize(void);
 
 	int SYS_Mkdir(const char *, int);
 

Modified: trunk/PCSC/src/sys_unix.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/sys_unix.c?rev=4458&op=diff
==============================================================================
--- trunk/PCSC/src/sys_unix.c (original)
+++ trunk/PCSC/src/sys_unix.c Thu Oct  8 12:30:56 2009
@@ -35,20 +35,6 @@
 #include "debug.h"
 
 /**
- * @brief Make system wide initialization.
- *
- * @return Eror code.
- * @retval 0 Success.
- */
-INTERNAL int SYS_Initialize(void)
-{
-	/*
-	 * Nothing special
-	 */
-	return 0;
-}
-
-/**
  * @brief Attempts to create a directory with some permissions.
  *
  * @param[in] path Path of the directory to be created.

Modified: trunk/PCSC/src/winscard_clnt.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_clnt.c?rev=4458&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Thu Oct  8 12:30:56 2009
@@ -386,11 +386,6 @@
 	 */
 	if (isExecuted == 0)
 	{
-		/*
-		 * Do any system initilization here
-		 */
-		(void)SYS_Initialize();
-
 		/*
 		 * Initializes the application contexts and all channels for each one
 		 */




More information about the Pcsclite-cvs-commit mailing list