]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
and then, I noticed the clicompat stuff.
authorSteve Murphy <murf@digium.com>
Wed, 17 Oct 2007 20:06:28 +0000 (20:06 +0000)
committerSteve Murphy <murf@digium.com>
Wed, 17 Oct 2007 20:06:28 +0000 (20:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86182 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/check_expr.c
utils/clicompat.c
utils/hashtest2.c

index 164774f6b29f4ab18e809b0bfd7d3db4c71557b3..df3b19b584e339007173eba3668462b9c919c2f0 100644 (file)
@@ -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;
index 75e31365e557f3336687cda9e59e389a4e2ed486..670b47a4d659c63b7ff14bb53b8d9ac7e5a807c5 100644 (file)
@@ -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;
 }
 
+
index ee390563f6f0fb77e183a468b60aa1b6e4358085..7e10cb70cd496e8a5fc05be0afe9eeb5ccfc2888 100644 (file)
@@ -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 
 {