summaryrefslogtreecommitdiff
path: root/include/asterisk.h
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 /include/asterisk.h
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 'include/asterisk.h')
-rw-r--r--include/asterisk.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index 93c7cfb28..f5ed09167 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -152,7 +152,6 @@ int ast_shutting_down(void);
*/
int ast_shutdown_final(void);
-#if !defined(LOW_MEMORY)
/*!
* \brief Register the version of a source code file with the core.
* \param file the source file name
@@ -225,11 +224,7 @@ char *ast_complete_source_filename(const char *partial, int n);
__ast_unregister_file(__FILE__); \
}
#endif /* !MTX_PROFILE */
-#else /* LOW_MEMORY */
-#define ASTERISK_REGISTER_FILE()
-#endif /* LOW_MEMORY */
-#if !defined(LOW_MEMORY)
/*!
* \brief support for event profiling
*
@@ -248,11 +243,6 @@ char *ast_complete_source_filename(const char *partial, int n);
int ast_add_profile(const char *, uint64_t scale);
int64_t ast_profile(int, int64_t);
int64_t ast_mark(int, int start1_stop0);
-#else /* LOW_MEMORY */
-#define ast_add_profile(a, b) 0
-#define ast_profile(a, b) do { } while (0)
-#define ast_mark(a, b) do { } while (0)
-#endif /* LOW_MEMORY */
/*! \brief
* Definition of various structures that many asterisk files need,