aboutsummaryrefslogtreecommitdiffstats
path: root/filters.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-04 00:45:39 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-04 00:45:39 +0000
commit25696883ad0d2bb9b9971bae0e5033cffac537c9 (patch)
tree6ce663d9714ee34c06a81a25dbc833864b67ea98 /filters.c
parenta9b11add951846bb5057d06aaa0a69a80bb97264 (diff)
In GTK+ 2.x, "gtk_entry_get_text()" returns a "const gchar *"; assign
its value to pointer-to-const variables. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9161 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'filters.c')
-rw-r--r--filters.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/filters.c b/filters.c
index 07d72b03c5..aa58bcad4c 100644
--- a/filters.c
+++ b/filters.c
@@ -1,7 +1,7 @@
/* filters.c
* Code for reading and writing the filters file.
*
- * $Id: filters.c,v 1.15 2002/08/28 21:00:06 jmayer Exp $
+ * $Id: filters.c,v 1.16 2003/12/04 00:45:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -364,7 +364,8 @@ get_filter_list_first(filter_list_type_t list)
* Returns a pointer to the newly-added entry.
*/
GList *
-add_to_filter_list(filter_list_type_t list, char *name, char *expression)
+add_to_filter_list(filter_list_type_t list, const char *name,
+ const char *expression)
{
GList **flp;
filter_def *filt;