diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-06-12 10:30:50 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-06-12 10:30:50 +0000 |
commit | 5b991f927f9d8efa8e1b442db7ca8fdfd60c2bb3 (patch) | |
tree | 9d1fd873be8f860087c41b1d21c86d5b98e22d9e /libsieve | |
parent | dbd6563f43b2efad6079c4fb53cedd745a6c926c (diff) | |
download | mailutils-5b991f927f9d8efa8e1b442db7ca8fdfd60c2bb3.tar.gz mailutils-5b991f927f9d8efa8e1b442db7ca8fdfd60c2bb3.tar.bz2 |
Provide forward declarations for yyerror and yylex.
Diffstat (limited to 'libsieve')
-rw-r--r-- | libsieve/sieve.y | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libsieve/sieve.y b/libsieve/sieve.y index 65ce792ae..59460c01c 100644 --- a/libsieve/sieve.y +++ b/libsieve/sieve.y @@ -28,7 +28,8 @@ sieve_machine_t sieve_machine; int sieve_error_count; static void branch_fixup __P((size_t start, size_t end)); - +int yyerror (char *s); +int yylex (); %} %union { @@ -509,7 +510,7 @@ string_comp (const void *item, const void *value) } void -sieve_machine_begin (sieve_machine_t mach, char *file) +sieve_machine_begin (sieve_machine_t mach, const char *file) { sieve_machine = mach; sieve_error_count = 0; |