Updated prototypes with no arguments with a void argument as suggested

by compilation warnings
This commit is contained in:
Celine Mercier
2018-10-17 12:00:40 +02:00
parent df70086384
commit 8ce6dd6d1a
8 changed files with 13 additions and 13 deletions

View File

@@ -57,7 +57,7 @@ typedef struct {
*
*/
int32_t is_big_endian();
int32_t is_big_endian(void);
int32_t swap_int32_t(int32_t);
void *eco_malloc(int32_t chunksize,
@@ -77,8 +77,8 @@ void eco_free(void *chunk,
const char *filename,
int32_t line);
void eco_trace_memory_allocation();
void eco_untrace_memory_allocation();
void eco_trace_memory_allocation(void);
void eco_untrace_memory_allocation(void);
#define ECOMALLOC(size,error_message) \
eco_malloc((size),(error_message),__FILE__,__LINE__)