summaryrefslogtreecommitdiff
path: root/libsieve/sieve.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-06-27 13:07:56 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-06-27 13:07:56 +0000
commit5d56b5d1aaa305f0ee003b99bdd85a054c76bc3e (patch)
tree15eb57ba400aca64732e4e08fda33efde7b42846 /libsieve/sieve.h
parentf69c4bbf9ce09628798d38e10ae23e15e895b3ec (diff)
downloadmailutils-5d56b5d1aaa305f0ee003b99bdd85a054c76bc3e.tar.gz
mailutils-5d56b5d1aaa305f0ee003b99bdd85a054c76bc3e.tar.bz2
Minor fixes to get rid of the spurious gcc warnings
Diffstat (limited to 'libsieve/sieve.h')
-rw-r--r--libsieve/sieve.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsieve/sieve.h b/libsieve/sieve.h
index ba0269543..58ac4d64b 100644
--- a/libsieve/sieve.h
+++ b/libsieve/sieve.h
@@ -1,5 +1,5 @@
/* GNU Mailutils -- a suite of utilities for electronic mail
- Copyright (C) 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2001, 2002, 2005, 2006 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -31,7 +31,7 @@ typedef union {
mu_sieve_value_t *val;
mu_list_t list;
long number;
- char *string;
+ const char *string;
size_t pc;
size_t line;
} sieve_op_t;
@@ -59,7 +59,7 @@ struct sieve_machine {
int debug_level; /* Debugging level */
jmp_buf errbuf; /* Target location for non-local exits */
- char *identifier; /* Name of action or test being executed */
+ const char *identifier; /* Name of action or test being executed */
mu_mailbox_t mailbox; /* Mailbox to operate upon */
size_t msgno; /* Current message number */

Return to:

Send suggestions and report system problems to the System administrator.