From 0cc7c0640b951419d888c3339c81ecd36983a928 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Mon, 7 May 2007 19:03:53 +0000 Subject: [PATCH] Constifications git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63240 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/module.h | 2 +- main/loader.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asterisk/module.h b/include/asterisk/module.h index 0fe4ccf57c..075d6a376b 100644 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -118,7 +118,7 @@ int ast_update_module_list(int (*modentry)(const char *module, const char *descr * \param name Module name, like "chan_sip.so" * \return 0 if false, 1 if true */ -int ast_module_check(char *name); +int ast_module_check(const char *name); /*! * \brief Add a procedure to be run when modules have been updated. diff --git a/main/loader.c b/main/loader.c index d9530f4d2e..53b557f111 100644 --- a/main/loader.c +++ b/main/loader.c @@ -891,7 +891,7 @@ int ast_update_module_list(int (*modentry)(const char *module, const char *descr } /*! \brief Check if module exists */ -int ast_module_check(char *name) +int ast_module_check(const char *name) { struct ast_module *cur;