Hack to prevent build errors on some machines due to missing throw()
Former-commit-id: a9e525c81e62f99e083fdddc5c62d11e5e46a5f4
This commit is contained in:
parent
ed83e6b326
commit
f485f390d5
@ -2330,11 +2330,13 @@ void lolwutCommand(client *c);
|
||||
void aclCommand(client *c);
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#ifndef __cplusplus
|
||||
void *calloc(size_t count, size_t size) __attribute__ ((deprecated));
|
||||
void free(void *ptr) __attribute__ ((deprecated));
|
||||
void *malloc(size_t size) __attribute__ ((deprecated));
|
||||
void *realloc(void *ptr, size_t size) __attribute__ ((deprecated));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Debugging stuff */
|
||||
void _serverAssertWithInfo(const client *c, const robj *o, const char *estr, const char *file, int line);
|
||||
|
Loading…
x
Reference in New Issue
Block a user