diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-10 22:23:14 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-10 22:23:14 +0000 |
commit | 189da9a72901ea4b14e45410d87a3cf8e8fbc8f1 (patch) | |
tree | 9cbc6911eb69f8da7361eb78972c53efad4f7680 /utils/check_expr.c | |
parent | f97d54c8acd58144556ceeddba266b04ebcb808b (diff) |
Merged revisions 114052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r114052 | mmichelson | 2008-04-10 17:02:32 -0500 (Thu, 10 Apr 2008) | 11 lines
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/branches/1.6.0@114056 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/check_expr.c')
-rw-r--r-- | utils/check_expr.c | 7 |
1 files changed, 6 insertions, 1 deletions
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) { } |