[asterisk-commits] oej: branch oej/minivoicemail r58578 - /team/oej/minivoicemail/apps/app_minivm.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Mar 9 12:39:46 MST 2007


Author: oej
Date: Fri Mar  9 13:39:46 2007
New Revision: 58578

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58578
Log:
Constification 

Modified:
    team/oej/minivoicemail/apps/app_minivm.c

Modified: team/oej/minivoicemail/apps/app_minivm.c
URL: http://svn.digium.com/view/asterisk/team/oej/minivoicemail/apps/app_minivm.c?view=diff&rev=58578&r1=58577&r2=58578
==============================================================================
--- team/oej/minivoicemail/apps/app_minivm.c (original)
+++ team/oej/minivoicemail/apps/app_minivm.c Fri Mar  9 13:39:46 2007
@@ -454,7 +454,7 @@
 static int handle_minivm_reload(int fd, int argc, char *argv[]);
 
 /*! \brief Create message template */
-static struct minivm_template *message_template_create(char *name)
+static struct minivm_template *message_template_create(const char *name)
 {
 	struct minivm_template *template;
 
@@ -482,7 +482,7 @@
 }
 
 /*! \brief Build message template from configuration */
-static int message_template_build(char *name, struct ast_variable *var)
+static int message_template_build(const char *name, struct ast_variable *var)
 {
 	struct minivm_template *template;
 	int error = 0;
@@ -545,7 +545,7 @@
 }
 
 /*! \brief Find named template */
-static struct minivm_template *message_template_find(char *name)
+static struct minivm_template *message_template_find(const char *name)
 {
 	struct minivm_template *this, *res = NULL;
 



More information about the asterisk-commits mailing list