summaryrefslogtreecommitdiff
path: root/utils/refcounter.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-05-06 20:15:02 +0000
committerMark Michelson <mmichelson@digium.com>2008-05-06 20:15:02 +0000
commit55310cc855e432b2c8ee673f35f1b9b9a81e9cf4 (patch)
tree61642bab3da486d66d3d6612df7ebfc523258ec4 /utils/refcounter.c
parenta41572affc43a44d52f2384f133e2d0f05908619 (diff)
Get refcounter to build with LOW_MEMORY defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/refcounter.c')
-rw-r--r--utils/refcounter.c5
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, ...)
{