From: Mark Michelson Date: Tue, 6 May 2008 20:15:02 +0000 (+0000) Subject: Get refcounter to build with LOW_MEMORY defined X-Git-Tag: 1.6.2.0-beta1~2301 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55310cc855e432b2c8ee673f35f1b9b9a81e9cf4;p=thirdparty%2Fasterisk.git Get refcounter to build with LOW_MEMORY defined git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115473 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/utils/refcounter.c b/utils/refcounter.c index 4c3e96e3b5..4d4d9dbb08 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, ...) {