aboutsummaryrefslogtreecommitdiffstats
path: root/epan/plugins.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-12-31 00:32:00 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-12-31 00:32:00 +0000
commit125025608d60aec0147d6cd0b23fc98f9b422e64 (patch)
tree3ac901453a8bbf55f356570ce1f504625f33624b /epan/plugins.h
parent9fe8c656b587cd0df95780221cc3f7ddec4c4b47 (diff)
As "get_persconffile_path()" doesn't return a "const char *", neither
does "get_plugins_pers_dir()" - and "get_plugins_global_dir()" doesn't return one either. Both of them return mallocated data, and making them return a "const char *" just causes compiler whining when you try to free them. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12883 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/plugins.h')
-rw-r--r--epan/plugins.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/epan/plugins.h b/epan/plugins.h
index e314f45f0c..f844703d9f 100644
--- a/epan/plugins.h
+++ b/epan/plugins.h
@@ -4,10 +4,9 @@
* $Id$
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1999 Gerald Combs
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -46,10 +45,10 @@ extern void register_all_plugin_handoffs(void);
/* get the global plugin dir */
/* Return value is g_malloced so the caller should g_free() it. */
-extern const char *get_plugins_global_dir(const char *plugin_dir);
+extern char *get_plugins_global_dir(const char *plugin_dir);
/* get the personal plugin dir */
/* Return value is g_malloced so the caller should g_free() it. */
-extern const char *get_plugins_pers_dir(void);
+extern char *get_plugins_pers_dir(void);
#endif /* __PLUGINS_H__ */