[Pcsclite-cvs-commit] r6234 - /trunk/PCSC/src/spy/libpcscspy.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Feb 28 14:38:13 UTC 2012


Author: rousseau
Date: Tue Feb 28 14:38:13 2012
New Revision: 6234

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6234
Log:
Fix compiler warning on OS X

libpcscspy.c:580: warning: no previous prototype for 'SCardControl132'

Modified:
    trunk/PCSC/src/spy/libpcscspy.c

Modified: trunk/PCSC/src/spy/libpcscspy.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/spy/libpcscspy.c?rev=6234&op=diff
==============================================================================
--- trunk/PCSC/src/spy/libpcscspy.c (original)
+++ trunk/PCSC/src/spy/libpcscspy.c Tue Feb 28 14:38:13 2012
@@ -36,6 +36,10 @@
 
 #ifdef __APPLE__
 #define SCardControl SCardControl132
+
+PCSC_API int32_t SCardControl132(SCARDHANDLE hCard, uint32_t dwControlCode,
+        const void *pbSendBuffer, uint32_t cbSendLength,
+        void *pbRecvBuffer, uint32_t cbRecvLength, uint32_t *lpBytesReturned);
 #endif
 
 /* function prototypes */




More information about the Pcsclite-cvs-commit mailing list