aboutsummaryrefslogtreecommitdiffstats
path: root/epan/emem.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-06-25 03:05:19 +0000
committerGuy Harris <guy@alum.mit.edu>2008-06-25 03:05:19 +0000
commit9e6329860a870298350c79012f2c8e2b75362427 (patch)
tree0fa21e62dd8eedd1a5f0ed5aa1249c11a724b1f3 /epan/emem.h
parent495ddc2830cb3f490e53519ca3074d1aa52c2600 (diff)
Fix some warnings - declare some arguments, variables, and structure
members to be const pointers when that's possible, and throw in some casts when the GLib API fails to have properly consted arguments. Use ep_strdup_printf() in some cases. svn path=/trunk/; revision=25596
Diffstat (limited to 'epan/emem.h')
-rw-r--r--epan/emem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/emem.h b/epan/emem.h
index ef663b3a70..c9ea0d83c0 100644
--- a/epan/emem.h
+++ b/epan/emem.h
@@ -270,7 +270,7 @@ emem_tree_t *se_tree_create_non_persistent(int type, const char *name);
* ******************************************************************* */
/* These trees have PErmanent allocation scope and will never be released
*/
-emem_tree_t *pe_tree_create(int type, char *name);
+emem_tree_t *pe_tree_create(int type, const char *name);
#define pe_tree_insert32 emem_tree_insert32
#define pe_tree_lookup32 emem_tree_lookup32
#define pe_tree_lookup32_le emem_tree_lookup32_le