[asterisk-commits] mmichelson: branch mmichelson/forward-loop r87042 - in /team/mmichelson/forwa...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 25 14:16:48 CDT 2007


Author: mmichelson
Date: Thu Oct 25 14:16:48 2007
New Revision: 87042

URL: http://svn.digium.com/view/asterisk?view=rev&rev=87042
Log:
Made datastore_info callbacks static


Modified:
    team/mmichelson/forward-loop/include/asterisk/global_datastores.h
    team/mmichelson/forward-loop/main/global_datastores.c

Modified: team/mmichelson/forward-loop/include/asterisk/global_datastores.h
URL: http://svn.digium.com/view/asterisk/team/mmichelson/forward-loop/include/asterisk/global_datastores.h?view=diff&rev=87042&r1=87041&r2=87042
==============================================================================
--- team/mmichelson/forward-loop/include/asterisk/global_datastores.h (original)
+++ team/mmichelson/forward-loop/include/asterisk/global_datastores.h Thu Oct 25 14:16:48 2007
@@ -3,9 +3,6 @@
 #define _ASTERISK_GLOBAL_DATASTORE_H
 
 #include "asterisk/channel.h"
-
-void dialed_interface_destroy(void *data);
-void *dialed_interface_duplicate(void *data);
 
 extern const struct ast_datastore_info dialed_interface_info;
 

Modified: team/mmichelson/forward-loop/main/global_datastores.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/forward-loop/main/global_datastores.c?view=diff&rev=87042&r1=87041&r2=87042
==============================================================================
--- team/mmichelson/forward-loop/main/global_datastores.c (original)
+++ team/mmichelson/forward-loop/main/global_datastores.c Thu Oct 25 14:16:48 2007
@@ -1,7 +1,7 @@
 #include "asterisk/global_datastores.h"
 #include "asterisk/linkedlists.h"
 
-void dialed_interface_destroy(void *data)
+static void dialed_interface_destroy(void *data)
 {
 	struct ast_dialed_interface *di = NULL;
 	AST_LIST_HEAD(, ast_dialed_interface) *dialed_interface_list = data;
@@ -18,7 +18,7 @@
 	free(dialed_interface_list);
 }
 
-void *dialed_interface_duplicate(void *data)
+static void *dialed_interface_duplicate(void *data)
 {
 	struct ast_dialed_interface *di = NULL;
 	AST_LIST_HEAD(, ast_dialed_interface) *old_list;




More information about the asterisk-commits mailing list