[asterisk-commits] rizzo: trunk r92103 - /trunk/utils/clicompat.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 10 02:35:36 CST 2007


Author: rizzo
Date: Mon Dec 10 02:35:35 2007
New Revision: 92103

URL: http://svn.digium.com/view/asterisk?view=rev&rev=92103
Log:
simplify this file

Modified:
    trunk/utils/clicompat.c

Modified: trunk/utils/clicompat.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/clicompat.c?view=diff&rev=92103&r1=92102&r2=92103
==============================================================================
--- trunk/utils/clicompat.c (original)
+++ trunk/utils/clicompat.c Mon Dec 10 02:35:35 2007
@@ -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;
 }
-
-




More information about the asterisk-commits mailing list