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:
Corey Farrell
2016-09-19 05:46:27 -04:00
parent 2d2a8944be
commit 8c5c95ad89
13 changed files with 85 additions and 71 deletions

View File

@@ -98,7 +98,6 @@ void __ast_unregister_file(const char *file)
{
}
#if !defined(LOW_MEMORY)
int ast_add_profile(const char *, uint64_t scale);
int ast_add_profile(const char *s, uint64_t scale)
{
@@ -115,7 +114,6 @@ int64_t ast_mark(int key, int start1_stop0)
{
return 0;
}
#endif /* LOW_MEMORY */
/* end of dummy functions */