mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
core: Remove ABI effects of LOW_MEMORY.
This allows asterisk to compiled with LOW_MEMORY to load modules built without LOW_MEMORY. ASTERISK-26398 #close Change-Id: I24b78ac9493ab933b11087a8b6794f3c96d4872d
This commit is contained in:
@@ -88,9 +88,7 @@ void __ast_unregister_file(const char *file);
|
||||
void __ast_unregister_file(const char *file)
|
||||
{
|
||||
}
|
||||
#if !defined(LOW_MEMORY)
|
||||
int ast_add_profile(const char *x, uint64_t scale) { return 0;}
|
||||
#endif
|
||||
/* Our own version of ast_log, since the expr parser uses it. -- stolen from utils/check_expr.c */
|
||||
void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...) __attribute__((format(printf,5,6)));
|
||||
|
||||
@@ -708,7 +706,6 @@ unsigned int ast_hashtab_hash_contexts(const void *obj)
|
||||
}
|
||||
|
||||
#ifdef DEBUG_THREADS
|
||||
#if !defined(LOW_MEMORY)
|
||||
void ast_mark_lock_acquired(void *lock_addr)
|
||||
{
|
||||
}
|
||||
@@ -755,5 +752,4 @@ void ast_suspend_lock_info(void *lock_addr)
|
||||
void ast_restore_lock_info(void *lock_addr)
|
||||
{
|
||||
}
|
||||
#endif /* !defined(LOW_MEMORY) */
|
||||
#endif /* DEBUG_THREADS */
|
||||
|
||||
Reference in New Issue
Block a user