[Pcsclite-cvs-commit] r446 - /trunk/muscleTool/muscleTool.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Nov 13 09:40:52 UTC 2009


Author: rousseau
Date: Fri Nov 13 09:40:52 2009
New Revision: 446

URL: http://svn.debian.org/wsvn/muscleapps/?sc=1&rev=446
Log:
warning: function declaration isn’t a prototype

Modified:
    trunk/muscleTool/muscleTool.c

Modified: trunk/muscleTool/muscleTool.c
URL: http://svn.debian.org/wsvn/muscleapps/trunk/muscleTool/muscleTool.c?rev=446&op=diff
==============================================================================
--- trunk/muscleTool/muscleTool.c (original)
+++ trunk/muscleTool/muscleTool.c Fri Nov 13 09:40:52 2009
@@ -258,7 +258,7 @@
 	return rv;
 }
 
-void doExit() {
+void doExit(void) {
 	if (pConnection != 0) {
 		MSCReleaseConnection(pConnection, MSC_RESET_TOKEN);
 		free(pConnection);
@@ -370,7 +370,7 @@
 #endif
 
 #ifdef VERSION2
-void doSetStatus() {
+void doSetStatus(void) {
 	MSCLong32 rv = 0;
 	MSCULong32 choice;
 	MSCULong32 dummy = 256;
@@ -464,7 +464,7 @@
 	return;
 }
 #else
-void doSetStatus() {
+void doSetStatus(void) {
   printf("Not supported. \n");
 }
 #endif
@@ -523,7 +523,7 @@
 }
 #endif
 
-void doListTokens()
+void doListTokens(void)
 {
 	MSCLong32 rv;
 	MSCULong32 i;
@@ -602,7 +602,7 @@
 	return;
 }
 
-void doRelease()
+void doRelease(void)
 {
 	MSCLong32 rv = 0;
 
@@ -625,7 +625,7 @@
 	return;
 }
 
-void doList()
+void doList(void)
 {
 	MSCLong32 rv = 0;
 	MSCObjectInfo objInfo;
@@ -1005,7 +1005,7 @@
 		printf("KEY #5 ");
 }
 
-void doStatus()
+void doStatus(void)
 {
 	MSCLong32 rv = 0;
 #ifdef VERSION2
@@ -2043,7 +2043,7 @@
 	return;
 }
 
-void doLogout()
+void doLogout(void)
 {
 	MSCLong32 rv;
 
@@ -2308,7 +2308,7 @@
 	return;
 }
 
-void doListPINs()
+void doListPINs(void)
 {
 	MSCLong32 rv = 0;
 	MSCUShort16 pinStack;
@@ -3206,7 +3206,7 @@
 	return;
 }
 
-void doListKeys()
+void doListKeys(void)
 {
 	MSCLong32 rv = 0;
 	MSCKeyInfo keyInfo;
@@ -3707,7 +3707,7 @@
 	return;
 }
 
-void doVersion()
+void doVersion(void)
 {
 	printf("muscleTool version: %s\n", PACKAGE_VERSION);
 	printf("Copyright (C) 1998-2002 David Corcoran\n");




More information about the Pcsclite-cvs-commit mailing list