[asterisk-commits] murf: trunk r86182 - in /trunk/utils: check_expr.c clicompat.c hashtest2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 17 15:06:29 CDT 2007


Author: murf
Date: Wed Oct 17 15:06:28 2007
New Revision: 86182

URL: http://svn.digium.com/view/asterisk?view=rev&rev=86182
Log:
and then, I noticed the clicompat stuff.

Modified:
    trunk/utils/check_expr.c
    trunk/utils/clicompat.c
    trunk/utils/hashtest2.c

Modified: trunk/utils/check_expr.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/check_expr.c?view=diff&rev=86182&r1=86181&r2=86182
==============================================================================
--- trunk/utils/check_expr.c (original)
+++ trunk/utils/check_expr.c Wed Oct 17 15:06:28 2007
@@ -165,21 +165,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 */

Modified: trunk/utils/clicompat.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/clicompat.c?view=diff&rev=86182&r1=86181&r2=86182
==============================================================================
--- trunk/utils/clicompat.c (original)
+++ trunk/utils/clicompat.c Wed Oct 17 15:06:28 2007
@@ -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;
 }
 
+

Modified: trunk/utils/hashtest2.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/hashtest2.c?view=diff&rev=86182&r1=86181&r2=86182
==============================================================================
--- trunk/utils/hashtest2.c (original)
+++ trunk/utils/hashtest2.c Wed Oct 17 15:06:28 2007
@@ -60,22 +60,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 




More information about the asterisk-commits mailing list