diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2004-01-24 02:22:16 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2004-01-24 02:22:16 +0000 |
commit | dcb3b6fc7e87df4dd29089bacdd83db9fdaed872 (patch) | |
tree | 9a002c65461371d903feb2e628cd801a81c8b7e3 /src/plugins/plugins.h | |
parent | 16717f83227219be59a252f89db94172d7ff8f0d (diff) | |
download | weechat-dcb3b6fc7e87df4dd29089bacdd83db9fdaed872.zip |
Secured code to prevent buffer overflows and memory leaks
Diffstat (limited to 'src/plugins/plugins.h')
-rw-r--r-- | src/plugins/plugins.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/plugins.h b/src/plugins/plugins.h index a7c9a1685..ac073d4fe 100644 --- a/src/plugins/plugins.h +++ b/src/plugins/plugins.h @@ -61,14 +61,14 @@ extern t_plugin_script *perl_scripts; extern void plugin_init (); extern void plugin_load (int, char *); -extern void plugin_unload (int, char *); +extern void plugin_unload (int, /*@null@*/ char *); extern t_plugin_handler *plugin_handler_search (t_plugin_handler *, char *); extern void plugin_handler_add (t_plugin_handler **, t_plugin_handler **, int, char *, char *); extern void plugin_handler_free_all_type (t_plugin_handler **, t_plugin_handler **, int); extern void plugin_event_msg (char *, char *); -extern int plugin_exec_command (char *, char *); +extern int plugin_exec_command (char *, /*@null@*/ char *); extern void plugin_end (); #endif /* plugins.h */ |