From 115d5024a1dbc98b6849058b72da80cfe166b27e Mon Sep 17 00:00:00 2001 From: Mark Michelson 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: https://origsvn.digium.com/svn/asterisk/trunk@114052 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- utils/hashtest.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'utils/hashtest.c') diff --git a/utils/hashtest.c b/utils/hashtest.c index e1780791f..bce9d8c2e 100644 --- a/utils/hashtest.c +++ b/utils/hashtest.c @@ -43,11 +43,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") int testno = 1; /* stuff we need to make this work with the hashtab stuff */ - +#if !defined(LOW_MEMORY) int64_t ast_mark(int prof_id, int x) { return 0; } +#endif struct ht_element { @@ -299,11 +300,12 @@ int main(int argc,char **argv) return 0; } - +#if !defined(LOW_MEMORY) int ast_add_profile(const char *x, uint64_t scale) { return 0; } +#endif int ast_loader_register(int (*updater)(void)) { @@ -323,10 +325,12 @@ void ast_module_unregister(const struct ast_module_info *x) } +void ast_register_file_version(const char *file, const char *version); void ast_register_file_version(const char *file, const char *version) { } +void ast_unregister_file_version(const char *file); void ast_unregister_file_version(const char *file) { -- cgit v1.2.3