[svn-commits] seanbright: trunk r204355 - /trunk/apps/app_meetme.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Jun 29 18:50:49 CDT 2009
Author: seanbright
Date: Mon Jun 29 18:50:46 2009
New Revision: 204355
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=204355
Log:
A few const changes in app_meetme.c that I noticed while browsing the source.
Modified:
trunk/apps/app_meetme.c
Modified: trunk/apps/app_meetme.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/apps/app_meetme.c?view=diff&rev=204355&r1=204354&r2=204355
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Mon Jun 29 18:50:46 2009
@@ -953,7 +953,7 @@
static int admin_exec(struct ast_channel *chan, const char *data);
static void *recordthread(void *args);
-static char *istalking(int x)
+static const char *istalking(int x)
{
if (x > 0)
return "(talking)";
@@ -1129,7 +1129,9 @@
* \return A pointer to the conference struct, or NULL if it wasn't found and
* make or dynamic were not set.
*/
-static struct ast_conference *build_conf(char *confno, char *pin, char *pinadmin, int make, int dynamic, int refcount, const struct ast_channel *chan)
+static struct ast_conference *build_conf(const char *confno, const char *pin,
+ const char *pinadmin, int make, int dynamic, int refcount,
+ const struct ast_channel *chan)
{
struct ast_conference *cnf;
struct dahdi_confinfo dahdic = { 0, };
@@ -1883,7 +1885,7 @@
return res;
}
-static int rt_extend_conf(char *confno)
+static int rt_extend_conf(const char *confno)
{
char currenttime[32];
char endtime[32];
@@ -3987,7 +3989,7 @@
return res;
}
-static struct ast_conf_user *find_user(struct ast_conference *conf, char *callerident)
+static struct ast_conf_user *find_user(struct ast_conference *conf, const char *callerident)
{
struct ast_conf_user *user = NULL;
int cid;
@@ -6364,7 +6366,7 @@
return res;
}
-static int acf_meetme_info_eval(char *keyword, struct ast_conference *conf)
+static int acf_meetme_info_eval(const char *keyword, const struct ast_conference *conf)
{
if (!strcasecmp("lock", keyword)) {
return conf->locked;
More information about the svn-commits
mailing list