diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-06 21:08:07 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-06 21:08:07 +0000 |
commit | cb330ab862c027a2263c416e54daf0f7beee00c1 (patch) | |
tree | bc6a07df3f602a91ef86251751940d2bc83113eb /res | |
parent | 923c1c330007b44b4a76441c6f0a5b65ae03a732 (diff) |
Constify the return values of ast_parking_ext() and ast_pickup_ext()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67853 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_features.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_features.c b/res/res_features.c index afa77818a..cbb59a915 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -179,12 +179,12 @@ AST_MUTEX_DEFINE_STATIC(parking_lock); /*!< protects all static variables above static pthread_t parking_thread; -char *ast_parking_ext(void) +const char *ast_parking_ext(void) { return parking_ext; } -char *ast_pickup_ext(void) +const char *ast_pickup_ext(void) { return pickup_ext; } @@ -322,7 +322,7 @@ static int adsi_announce_park(struct ast_channel *chan, char *parkingexten) } /*! \brief Notify metermaids that we've changed an extension */ -static void notify_metermaids(char *exten, char *context) +static void notify_metermaids(const char *exten, char *context) { if (option_debug > 3) ast_log(LOG_DEBUG, "Notification of state change to metermaids %s@%s\n", exten, context); |