mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 19:23:13 +02:00
Use of const for some functions returning "char *"
This commit is contained in:
+2
-2
@@ -1470,12 +1470,12 @@ hook_info (struct t_weechat_plugin *plugin, const char *info_name,
|
||||
* hook_info_get: get info via info hook
|
||||
*/
|
||||
|
||||
char *
|
||||
const char *
|
||||
hook_info_get (struct t_weechat_plugin *plugin, const char *info_name,
|
||||
const char *arguments)
|
||||
{
|
||||
struct t_hook *ptr_hook, *next_hook;
|
||||
char *value;
|
||||
const char *value;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) plugin;
|
||||
|
||||
Reference in New Issue
Block a user