summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-11-29 22:21:23 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-11-29 22:21:23 +0000
commitb39a7b487a7b436d07f4ff441c8f9de2e355a323 (patch)
tree6685c611218b7cf06de80628681f6650eddaa4e1 /ui
parent366fe213a27e13a015ca8afc1fdd0f3a18205b2b (diff)
downloadwireshark-b39a7b487a7b436d07f4ff441c8f9de2e355a323.tar.gz
Make tap_param.enum_vals const.
svn path=/trunk/; revision=46297
Diffstat (limited to 'ui')
-rw-r--r--ui/gtk/tap_param_dlg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/tap_param_dlg.h b/ui/gtk/tap_param_dlg.h
index 0069cb8d3e..9c3aa93ee3 100644
--- a/ui/gtk/tap_param_dlg.h
+++ b/ui/gtk/tap_param_dlg.h
@@ -27,13 +27,13 @@
#define __TAP_DFILTER_DLG_H__
/*
- * You can easily add a parameter dialog for your gui tap by using
+ * You can easily add a parameter dialog for your gui tap by using
* the following infrastructure:
*
* Define a global structure of tap_param_dlg within your stat source file.
* Initiate it with:
* 1) a title string for the Dialog Window
- * 2) the init string, which is the same as the string after "-z" option without
+ * 2) the init string, which is the same as the string after "-z" option without
* the filter string and without the separating comma.
* 3) a pointer to the init function of the tap, which will be called when you click
* on the start button in the display filter dialog.
@@ -75,7 +75,7 @@ typedef enum {
typedef struct _tap_param {
param_type type;
const char *title;
- enum_val_t *enum_vals;
+ const enum_val_t *enum_vals;
} tap_param;
typedef struct _tap_param_dlg {