[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] New boostrap build error
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] New boostrap build error |
Date: |
Mon, 18 Feb 2008 11:48:47 +0200 |
d.henman <address@hidden> ha escrit:
> It doesn't look like the #ifdef SIEVE_MODDIR compiler directive
> needed below, since a static function definition is unconditionally
It is needed, no matter how and where _add_load_dir is defined.
> load.c:131: error: static declaration of '_add_load_dir' follows non-static
> declaration
> load.c:55: error: previous implicit declaration of '_add_load_dir' was here
Add forward declaration of _add_load_dir somewhere before line 55, like
that:
Index: libsieve/load.c
===================================================================
RCS file: /cvsroot/mailutils/mailutils/libsieve/load.c,v
retrieving revision 1.14
diff -p -u -r1.14 load.c
--- libsieve/load.c 14 Jan 2008 10:20:34 -0000 1.14
+++ libsieve/load.c 18 Feb 2008 09:48:15 -0000
@@ -42,6 +42,8 @@ _free_loaded_module (void *data)
}
#endif
+static int _add_load_dir (void *, void *);
+
static int
sieve_init_load_path ()
{
Regards,
Sergey