summaryrefslogtreecommitdiff
path: root/plugins/mate/mate_setup.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-07-23 11:41:25 +0000
committerJörg Mayer <jmayer@loplof.de>2005-07-23 11:41:25 +0000
commit30a855786822f15108e3a9d4dbd5579cd656abba (patch)
tree88cde02c2a8b79acb9a58e94d44b2cc686e12e9e /plugins/mate/mate_setup.c
parentcb4ac62893d38d74efc89f5d5c90c7451dc421a4 (diff)
downloadwireshark-30a855786822f15108e3a9d4dbd5579cd656abba.tar.gz
More 'char*' -> 'const char*' changes to fix warnings.
svn path=/trunk/; revision=15015
Diffstat (limited to 'plugins/mate/mate_setup.c')
-rw-r--r--plugins/mate/mate_setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/mate/mate_setup.c b/plugins/mate/mate_setup.c
index c54f18d7e5..07b7af8597 100644
--- a/plugins/mate/mate_setup.c
+++ b/plugins/mate/mate_setup.c
@@ -30,7 +30,7 @@
static mate_config* matecfg = NULL;
/* appends the formatted string to the current error log */
-static void report_error(gchar* fmt, ...) {
+static void report_error(const gchar* fmt, ...) {
static gchar error_buffer[DEBUG_BUFFER_SIZE];
va_list list;
@@ -679,8 +679,8 @@ static void print_hfid_hash(gpointer k, gpointer v, gpointer p _U_) {
static void print_pdu_config(mate_cfg_pdu* cfg, GString* s) {
guint i;
int hfid;
- gchar* discard;
- gchar* stop;
+ const gchar* discard;
+ const gchar* stop;
discard = cfg->discard ? "TRUE": "FALSE";
stop = cfg->last_extracted ? "TRUE" : "FALSE";
@@ -858,7 +858,7 @@ static void print_config(void) {
g_string_free(config_text,TRUE);
}
-extern mate_config* mate_make_config(gchar* filename, int mate_hfid) {
+extern mate_config* mate_make_config(const gchar* filename, int mate_hfid) {
gint* ett;
avp_init();