summaryrefslogtreecommitdiff
path: root/tap_dfilter_dlg.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-08-06 03:44:55 +0000
committerGuy Harris <guy@alum.mit.edu>2005-08-06 03:44:55 +0000
commit5fb6e97fb43b2b7929a7bb20b1d408b798d95551 (patch)
tree32b19974cee8f9cb038186254b92b64e98975504 /tap_dfilter_dlg.h
parentb992c7339116ada28b7021349a6dbea9f023ded0 (diff)
downloadwireshark-5fb6e97fb43b2b7929a7bb20b1d408b798d95551.tar.gz
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
Diffstat (limited to 'tap_dfilter_dlg.h')
-rw-r--r--tap_dfilter_dlg.h2
1 files changed, 1 insertions, 1 deletions
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;