Updated prototypes with no arguments with a void argument as suggested
by compilation warnings
This commit is contained in:
@@ -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__)
|
||||
|
Reference in New Issue
Block a user