From c7773aa206c858e4f3054d53b394a4440ca4a0e3 Mon Sep 17 00:00:00 2001
From: "Kevin P. Fleming" <kpfleming@digium.com>
Date: Mon, 12 Nov 2007 20:16:13 +0000
Subject: [PATCH] (closes issue #11221) Reported by: eliel Patches:      
 utils.Makefile.patch uploaded by eliel (modified by me) (license 64)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 utils/Makefile   |  4 ++--
 utils/hashtest.c | 12 ------------
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/utils/Makefile b/utils/Makefile
index 504e7f34c4..2edb26a206 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -103,7 +103,7 @@ ast_expr2f.o: ASTCFLAGS+=-DSTANDALONE_AEL -I../main
 
 pval.o : ASTCFLAGS+=-DSTANDALONE
 
-check_expr: check_expr.o ast_expr2.o ast_expr2f.o strcompat.o threadstorage.o
+check_expr: check_expr.o ast_expr2.o ast_expr2f.o strcompat.o threadstorage.o clicompat.o
 
 aelbison.c: ../res/ael/ael.tab.c
 	@cp $< $@
@@ -138,7 +138,7 @@ hashtest2.o: ASTCFLAGS+=-O0
 
 hashtest2: hashtest2.o md5.o utils.o astobj2.o sha1.o strcompat.o threadstorage.o clicompat.o
 
-hashtest: hashtest.o md5.o hashtab.o utils.o sha1.o strcompat.o threadstorage.o
+hashtest: hashtest.o md5.o hashtab.o utils.o sha1.o strcompat.o threadstorage.o clicompat.o
 
 hashtest.o : hashtest.c
 	$(CC) -g -O0 -c hashtest.c -I/usr/include -I../include
diff --git a/utils/hashtest.c b/utils/hashtest.c
index 80362a89b9..17c30ab7b1 100644
--- a/utils/hashtest.c
+++ b/utils/hashtest.c
@@ -52,10 +52,6 @@ int testno = 1;
 
 /* stuff we need to make this work with the hashtab stuff */
 
-void ast_cli(int *fd, char *str, ...)
-{
-}
-
 int64_t ast_mark(int prof_id, int x)
 {
 }
@@ -336,10 +332,6 @@ void ast_module_unregister(const struct ast_module_info *x)
 }
 
 
-void ast_cli_register_multiple(void)
-{
-}
-
 void ast_register_file_version(const char *file, const char *version)
 {
 }
@@ -349,10 +341,6 @@ void ast_unregister_file_version(const char *file)
 
 }
 
-void ast_cli_unregister_multiple(void)
-{
-}
-
 void ast_context_destroy(void)
 {
 }
-- 
GitLab