aboutsummaryrefslogtreecommitdiffstats
path: root/utils/hashtest2.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-10 22:23:14 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-10 22:23:14 +0000
commit189da9a72901ea4b14e45410d87a3cf8e8fbc8f1 (patch)
tree9cbc6911eb69f8da7361eb78972c53efad4f7680 /utils/hashtest2.c
parentf97d54c8acd58144556ceeddba266b04ebcb808b (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/hashtest2.c')
-rw-r--r--utils/hashtest2.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/hashtest2.c b/utils/hashtest2.c
index 0fe10ab75..aa81719b6 100644
--- a/utils/hashtest2.c
+++ b/utils/hashtest2.c
@@ -45,11 +45,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
int testno = 2;
/* stuff we need to make this work with the astobj2 stuff */
-
+#if !defined(LOW_MEMORY)
int64_t ast_mark(int prof_id, int x)
{
return 0;
}
+#endif
/* my OBJECT */
struct ht_element
@@ -311,11 +312,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))
{
@@ -335,10 +337,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)
{