Fix declaration of ts_toggle_allocation_recording
This commit is contained in:
parent
e742186c25
commit
b516f96f37
2 changed files with 3 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ struct allocator *ts_allocator = &ts_tracking_allocator;
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
static inline bool ts_toggle_allocation_recording(bool value) {
|
||||
bool ts_toggle_allocation_recording(bool value) {
|
||||
(void)value;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@ extern struct allocator *ts_allocator;
|
|||
#define ts_free ts_allocator->free
|
||||
#endif
|
||||
|
||||
bool ts_toggle_allocation_recording(bool);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue