aboutsummaryrefslogtreecommitdiffstats
path: root/packet.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-06-12 04:21:09 +0000
committerGuy Harris <guy@alum.mit.edu>1999-06-12 04:21:09 +0000
commit1c30696df9c154ec0215ebd031a3d3d917217ae1 (patch)
tree860fc8af8ac0308daa36f7d317db9318ea57c7a3 /packet.h
parent34178557c8ce591c2f8f772415eb1425e33933b3 (diff)
Make the string argument to "col_add_str()" a "const gchar *" - it
doesn't modify anything pointed to by that argument, and that keeps us from getting complaints if we pass a "const gchar *" to it. svn path=/trunk/; revision=306
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet.h b/packet.h
index aee2e4b6c8..9575dd3e2a 100644
--- a/packet.h
+++ b/packet.h
@@ -1,7 +1,7 @@
/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.58 1999/06/11 16:44:52 gram Exp $
+ * $Id: packet.h,v 1.59 1999/06/12 04:21:09 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -317,7 +317,7 @@ void col_append_fstr(frame_data *, gint, gchar *, ...)
void col_add_fstr(frame_data *, gint, gchar *, ...);
void col_append_fstr(frame_data *, gint, gchar *, ...);
#endif
-void col_add_str(frame_data *, gint, gchar *);
+void col_add_str(frame_data *, gint, const gchar *);
void col_append_str(frame_data *, gint, gchar *);
/* Routines in packet.c */