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/check_expr.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'utils/check_expr.c') diff --git a/utils/check_expr.c b/utils/check_expr.c index 260fd4e2e..7b013f163 100644 --- a/utils/check_expr.c +++ b/utils/check_expr.c @@ -85,6 +85,7 @@ enum ast_lock_type { AST_WRLOCK, }; #endif +#if !defined(LOW_MEMORY) 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); void ast_store_lock_info(enum ast_lock_type type, const char *filename, @@ -104,6 +105,7 @@ void ast_remove_lock_info(void *lock_addr) { /* not a lot to do in a standalone w/o threading! */ } +#endif static int global_lineno = 1; static int global_expr_count=0; @@ -145,9 +147,11 @@ unsigned int check_expr(char* buffer, char* error_report); int check_eval(char *buffer, char *error_report); void parse_file(const char *fname); +void ast_register_file_version(const char *file, const char *version); void ast_register_file_version(const char *file, const char *version) { } +#if !defined(LOW_MEMORY) int ast_add_profile(const char *x, uint64_t scale) { return 0;} - +#endif int ast_atomic_fetchadd_int_slow(volatile int *p, int v) { int ret; @@ -156,6 +160,7 @@ int ast_atomic_fetchadd_int_slow(volatile int *p, int v) return ret; } +void ast_unregister_file_version(const char *file); void ast_unregister_file_version(const char *file) { } -- cgit v1.2.3