mesh: remove compile warnings for test files

This commit is contained in:
Milanka Ringwald 2018-11-19 14:53:38 +01:00 committed by Matthias Ringwald
parent 870b3bb0eb
commit 7dd36736a3
2 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ static void CHECK_EQUAL_ARRAY(uint8_t * expected, uint8_t * actual, int size){
}
}
static void dump_data(uint8_t * buffer, uint16_t size){
void dump_data(uint8_t * buffer, uint16_t size){
static int data_counter = 1;
char var_name[80];
sprintf(var_name, "test_data_%02u", data_counter);
@ -72,7 +72,7 @@ static void dump_data(uint8_t * buffer, uint16_t size){
data_counter++;
}
static int parse_hex(uint8_t * buffer, const char * hex_string){
int parse_hex(uint8_t * buffer, const char * hex_string){
int len = 0;
while (*hex_string){
if (*hex_string == ' '){

View File

@ -58,7 +58,7 @@ static void CHECK_EQUAL_ARRAY(uint8_t * expected, uint8_t * actual, int size){
}
}
static void dump_data(uint8_t * buffer, uint16_t size){
void dump_data(uint8_t * buffer, uint16_t size){
static int data_counter = 1;
char var_name[80];
sprintf(var_name, "test_data_%02u", data_counter);
@ -71,7 +71,7 @@ static void dump_data(uint8_t * buffer, uint16_t size){
data_counter++;
}
static int parse_hex(uint8_t * buffer, const char * hex_string){
int parse_hex(uint8_t * buffer, const char * hex_string){
int len = 0;
while (*hex_string){
if (*hex_string == ' '){