From e8da1cc73ce1d921867bacfea239ea14329ae88d Mon Sep 17 00:00:00 2001 From: mmichelson Date: Thu, 10 Apr 2008 22:02:32 +0000 Subject: Merged revisions 114051 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114051 | mmichelson | 2008-04-10 15:59:49 -0500 (Thu, 10 Apr 2008) | 3 lines Fix 1.4 build when LOW_MEMORY is enabled. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114052 f38db490-d61c-443f-a65b-d21fe96a405b --- utils/conf2ael.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'utils/conf2ael.c') diff --git a/utils/conf2ael.c b/utils/conf2ael.c index c69486a33..4572cbd5d 100644 --- a/utils/conf2ael.c +++ b/utils/conf2ael.c @@ -78,15 +78,18 @@ char ast_config_AST_SYSTEM_NAME[20] = ""; */ /* static AST_RWLIST_HEAD_STATIC(acf_root, ast_custom_function); */ //extern char ast_config_AST_CONFIG_DIR[PATH_MAX]; +void ast_register_file_version(const char *file, const char *version); void ast_register_file_version(const char *file, const char *version) { } +void ast_unregister_file_version(const char *file); void ast_unregister_file_version(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))); @@ -698,7 +701,7 @@ unsigned int ast_hashtab_hash_contexts(const void *obj) } #ifdef DEBUG_THREADS - +#if !defined(LOW_MEMORY) void ast_mark_lock_acquired(void *lock_addr) { } @@ -711,5 +714,5 @@ void ast_store_lock_info(enum ast_lock_type type, const char *filename, int line_num, const char *func, const char *lock_name, void *lock_addr) { } - +#endif #endif -- cgit v1.2.3