]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
simplify this file
authorLuigi Rizzo <rizzo@icir.org>
Mon, 10 Dec 2007 08:35:35 +0000 (08:35 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Mon, 10 Dec 2007 08:35:35 +0000 (08:35 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92103 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/clicompat.c

index 670b47a4d659c63b7ff14bb53b8d9ac7e5a807c5..33f90fae167b2eb9561000de71e4e69e3cff8b1c 100644 (file)
@@ -1,16 +1,16 @@
+/*
+ * Stubs for some cli functions used by the test routines.
+ * $Revision$
+ */
 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 */
-};
+struct ast_cli_entry;
 
 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;
 }
-
-