From a69abc017928074e13963705afa708f4693db536 Mon Sep 17 00:00:00 2001
From: Steve Murphy <murf@digium.com>
Date: Wed, 17 Oct 2007 20:06:28 +0000
Subject: [PATCH] and then, I noticed the clicompat stuff.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 utils/check_expr.c | 15 ---------------
 utils/clicompat.c  | 16 ++++++++++------
 utils/hashtest2.c  | 16 ----------------
 3 files changed, 10 insertions(+), 37 deletions(-)

diff --git a/utils/check_expr.c b/utils/check_expr.c
index 164774f6b2..df3b19b584 100644
--- a/utils/check_expr.c
+++ b/utils/check_expr.c
@@ -167,21 +167,6 @@ void ast_unregister_file_version(const char *file)
 {
 }
 
-void ast_cli(int fd, const char *fmt, ...);
-void ast_cli(int fd, const char *fmt, ...)
-{
-}
-
-struct ast_cli_entry {
-	char * const cmda; /* just something to satisfy compile & link; will never be used */
-};
-
-int ast_cli_register_multiple(struct ast_cli_entry *e, int len);
-int ast_cli_register_multiple(struct ast_cli_entry *e, int len)
-{
- return 0;
-}
-
 char *find_var(const char *varname) /* the list should be pretty short, if there's any list at all */
 {
 	struct varz *t;
diff --git a/utils/clicompat.c b/utils/clicompat.c
index 75e31365e5..670b47a4d6 100644
--- a/utils/clicompat.c
+++ b/utils/clicompat.c
@@ -1,12 +1,16 @@
-void ast_cli(void);
-void ast_cli(void)
+void ast_cli(int fd, const char *fmt, ...);
+void ast_cli(int fd, const char *fmt, ...)
 {
-	return;
 }
 
-int ast_cli_register_multiple(void);
-int ast_cli_register_multiple(void)
+struct ast_cli_entry {
+       char * const cmda; /* just something to satisfy compile & link; will never be used */
+};
+
+int ast_cli_register_multiple(struct ast_cli_entry *e, int len);
+int ast_cli_register_multiple(struct ast_cli_entry *e, int len)
 {
-	return 0;
+ return 0;
 }
 
+
diff --git a/utils/hashtest2.c b/utils/hashtest2.c
index ee390563f6..7e10cb70cd 100644
--- a/utils/hashtest2.c
+++ b/utils/hashtest2.c
@@ -61,22 +61,6 @@ int64_t ast_mark(int prof_id, int x)
 {
 }
 
-void ast_cli(int fd, const char *fmt, ...);
-void ast_cli(int fd, const char *fmt, ...)
-{
-}
-
-struct ast_cli_entry {
-	char * const cmda; /* just something to satisfy compile & link; will never be used */
-};
-
-int ast_cli_register_multiple(struct ast_cli_entry *e, int len);
-int ast_cli_register_multiple(struct ast_cli_entry *e, int len)
-{
- return 0;
-}
-
-
 /* my OBJECT */
 struct ht_element 
 {
-- 
GitLab