diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-06 20:15:02 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-06 20:15:02 +0000 |
commit | 7a0fd1b75879719b34dfeac62f67ec4d47918c51 (patch) | |
tree | 61642bab3da486d66d3d6612df7ebfc523258ec4 /utils | |
parent | 6820828da600a302ae4199f63140d8e3aa5e5027 (diff) |
Get refcounter to build with LOW_MEMORY defined
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115473 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rw-r--r-- | utils/refcounter.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/refcounter.c b/utils/refcounter.c index 4c3e96e3b..4d4d9dbb0 100644 --- a/utils/refcounter.c +++ b/utils/refcounter.c @@ -197,10 +197,12 @@ int main(int argc,char **argv) /* stub routines to satisfy linking with asterisk subcomponents */ +#ifndef LOW_MEMORY int ast_add_profile(const char *x, uint64_t scale) { return 0; } +#endif int ast_loader_register(int (*updater)(void)) { @@ -219,7 +221,7 @@ void ast_module_unregister(const struct ast_module_info *x) { } - +#ifndef LOW_MEMORY void ast_register_file_version(const char *file, const char *version) { } @@ -235,6 +237,7 @@ int64_t ast_mark(int x, int start1_stop0) { return 0; } +#endif void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...) { |