FS-11640 fix const char * prototype
This commit is contained in:
parent
463eb7294e
commit
cf7a1d47bf
|
@ -318,7 +318,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_exists(const char *mod);
|
||||||
\param err pointer to error message
|
\param err pointer to error message
|
||||||
\return the status
|
\return the status
|
||||||
*/
|
*/
|
||||||
SWITCH_DECLARE(switch_status_t) switch_loadable_module_unload_module(char *dir, char *fname, switch_bool_t force, const char **err);
|
SWITCH_DECLARE(switch_status_t) switch_loadable_module_unload_module(const char *dir, const char *fname, switch_bool_t force, const char **err);
|
||||||
|
|
||||||
/* Prototypes of module interface functions */
|
/* Prototypes of module interface functions */
|
||||||
|
|
||||||
|
@ -328,7 +328,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_unload_module(char *dir,
|
||||||
\param filename the path to the module's dll or so file
|
\param filename the path to the module's dll or so file
|
||||||
\return SWITCH_STATUS_SUCCESS on a successful load
|
\return SWITCH_STATUS_SUCCESS on a successful load
|
||||||
*/
|
*/
|
||||||
SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(switch_loadable_module_interface_t ** module_interface, char *filename);
|
SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(switch_loadable_module_interface_t ** module_interface, const char *filename);
|
||||||
SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void);
|
SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
@ -1628,7 +1628,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_exists(const char *mod)
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
SWITCH_DECLARE(switch_status_t) switch_loadable_module_unload_module(char *dir, char *fname, switch_bool_t force, const char **err)
|
SWITCH_DECLARE(switch_status_t) switch_loadable_module_unload_module(const char *dir, const char *fname, switch_bool_t force, const char **err)
|
||||||
{
|
{
|
||||||
switch_loadable_module_t *module = NULL;
|
switch_loadable_module_t *module = NULL;
|
||||||
switch_status_t status = SWITCH_STATUS_SUCCESS;
|
switch_status_t status = SWITCH_STATUS_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue