From 5fb6e97fb43b2b7929a7bb20b1d408b798d95551 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 6 Aug 2005 03:44:55 +0000 Subject: Squelch more const warnings (and fix some memory leaks that found). _U_-ify some unused arguments, rather than assigning them to themselves. Un-constify one variable that gets assigned a mallocated pointer. Clean up indentation. svn path=/trunk/; revision=15236 --- tap_dfilter_dlg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tap_dfilter_dlg.h') diff --git a/tap_dfilter_dlg.h b/tap_dfilter_dlg.h index 35331b9b98..afd7e47c03 100644 --- a/tap_dfilter_dlg.h +++ b/tap_dfilter_dlg.h @@ -54,7 +54,7 @@ typedef struct _tap_dfilter_dlg { const char *win_title; /* title */ const char *init_string; /* the string to call the tap without a filter via "-z" option */ - void (* tap_init_cb)(char *); /* callback to init function of the tap */ + void (* tap_init_cb)(const char *); /* callback to init function of the tap */ gint index; /* initiate this value always with "-1" */ } tap_dfilter_dlg; -- cgit v1.2.3