forcing empty parameter list with function(void) instead of unspecified parameter list with function()
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@162 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -87,7 +87,7 @@ char* perform_initialization(int num)
|
||||
}
|
||||
|
||||
|
||||
void setup() {
|
||||
void setup(void) {
|
||||
/*setup environment, open device, set global filehandle*/
|
||||
DWORD dwActiveProtocol;
|
||||
LONG pcsc_result;
|
||||
@@ -130,7 +130,7 @@ void printHex(char *title, unsigned char *msg, unsigned int length) {
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
void cleanup() {
|
||||
void cleanup(void) {
|
||||
int releaseContext;
|
||||
/*Power down card*/
|
||||
SCardDisconnect(hcard, SCARD_UNPOWER_CARD);
|
||||
|
||||
Reference in New Issue
Block a user