[Pcsclite-cvs-commit] r6339 - /trunk/pcsc-tools/pcsc_scan.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Jun 16 10:34:15 UTC 2012


Author: rousseau
Date: Sat Jun 16 10:34:15 2012
New Revision: 6339

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

pcsc_scan.c:59:6: warning: no previous prototype for ‘usage’
[-Wmissing-prototypes]

Modified:
    trunk/pcsc-tools/pcsc_scan.c

Modified: trunk/pcsc-tools/pcsc_scan.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/pcsc-tools/pcsc_scan.c?rev=6339&op=diff
==============================================================================
--- trunk/pcsc-tools/pcsc_scan.c (original)
+++ trunk/pcsc-tools/pcsc_scan.c Sat Jun 16 10:34:15 2012
@@ -56,7 +56,7 @@
 	} \
 } while(0)
 
-void usage(void)
+static void usage(void)
 {
 	printf("usage: pcsc_scan [-n] [-V] [-h]\n");
 	printf("  -n : no ATR analysis\n");




More information about the Pcsclite-cvs-commit mailing list