summaryrefslogtreecommitdiff
path: root/utils/ael_main.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2016-09-19 05:46:27 -0400
committerCorey Farrell <git@cfware.com>2016-09-29 03:22:28 -0400
commit8c5c95ad893af5d299da2695a0770cac98739e33 (patch)
tree8c8e24e0ac2c6bfcd2490f2c3d65a30ebd71bb20 /utils/ael_main.c
parent2d2a8944bed593e3cd2a66fe1b25288a62437423 (diff)
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
Diffstat (limited to 'utils/ael_main.c')
-rw-r--r--utils/ael_main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/utils/ael_main.c b/utils/ael_main.c
index d2c815b3b..1801b12b8 100644
--- a/utils/ael_main.c
+++ b/utils/ael_main.c
@@ -32,10 +32,8 @@ ASTERISK_REGISTER_FILE()
int option_debug = 0;
int option_verbose = 0;
-#if !defined(LOW_MEMORY)
void __ast_register_file(const char *file) { }
void __ast_unregister_file(const char *file) { }
-#endif
/*** MODULEINFO
<depend>res_ael_share</depend>
@@ -180,7 +178,6 @@ struct ast_custom_function *ast_custom_function_find(const char *name)
return 0; /* in "standalone" mode, functions are just not avail */
}
-#if !defined(LOW_MEMORY)
int ast_add_profile(const char *x, uint64_t scale)
{
if (!no_comp)
@@ -188,7 +185,6 @@ int ast_add_profile(const char *x, uint64_t scale)
return 0;
}
-#endif
int ast_loader_register(int (*updater)(void))
{
@@ -606,7 +602,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)
{
}
@@ -652,5 +647,4 @@ void ast_suspend_lock_info(void *lock_addr)
void ast_restore_lock_info(void *lock_addr)
{
}
-#endif /* !defined(LOW_MEMORY) */
#endif /* DEBUG_THREADS */