minor fix

This commit is contained in:
Takashi Kojo 2018-09-15 07:49:30 +09:00 committed by Go Hosohara
parent cfa99c567b
commit 01654dac1a
2 changed files with 6 additions and 9 deletions

View File

@ -30,8 +30,6 @@
#include <wolfssl/wolfcrypt/error-crypt.h>
#include <stdio.h>
#define WOLFSSL_SUCCESS 1
#define YEAR 2018
#define MON 5
@ -46,12 +44,12 @@ time_t time(time_t *t)
int strncasecmp(const char *s1, const char * s2, unsigned int sz)
{
for( ; sz>0; sz--, s1++, s2++){
if(toupper(*s1) < toupper(*s2)){
return -1;
}
if(toupper(*s1) > toupper(*s2)){
return 1;
}
if(toupper(*s1) < toupper(*s2)){
return -1;
}
if(toupper(*s1) > toupper(*s2)){
return 1;
}
}
return 0;
}

View File

@ -41,7 +41,6 @@ typedef struct func_args {
} func_args;
void wolfcrypt_test(func_args args);
void ApiTest(void);
void main(void)
{