dovecot-2.0-pigeonhole: Omitted 'extern' in two declarations of ...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Mon Jan 25 22:03:54 EET 2010
details: http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/67f7f59671e8
changeset: 1223:67f7f59671e8
user: Stephan Bosch <stephan at rename-it.nl>
date: Mon Jan 25 21:03:46 2010 +0100
description:
Omitted 'extern' in two declarations of global variables in header files, causing compile failures on certain systems.
diffstat:
src/lib-sieve-tool/sieve-tool.h | 4 ++--
src/lib-sieve/plugins/notify/ext-notify-common.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 37eeae199fd7 -r 67f7f59671e8 src/lib-sieve-tool/sieve-tool.h
--- a/src/lib-sieve-tool/sieve-tool.h Mon Jan 25 18:42:30 2010 +0100
+++ b/src/lib-sieve-tool/sieve-tool.h Mon Jan 25 21:03:46 2010 +0100
@@ -12,12 +12,12 @@
* Sieve instance
*/
-struct sieve_instance *sieve_instance;
+extern struct sieve_instance *sieve_instance;
const char *sieve_tool_get_setting(void *context, const char *identifier);
const char *sieve_tool_get_homedir(void *context);
-const struct sieve_environment sieve_tool_env;
+extern const struct sieve_environment sieve_tool_env;
/*
* Initialization
diff -r 37eeae199fd7 -r 67f7f59671e8 src/lib-sieve/plugins/notify/ext-notify-common.h
--- a/src/lib-sieve/plugins/notify/ext-notify-common.h Mon Jan 25 18:42:30 2010 +0100
+++ b/src/lib-sieve/plugins/notify/ext-notify-common.h Mon Jan 25 21:03:46 2010 +0100
@@ -41,7 +41,7 @@
* Actions
*/
-const struct sieve_action_def act_notify_old;
+extern const struct sieve_action_def act_notify_old;
struct ext_notify_recipient {
const char *full;
More information about the dovecot-cvs
mailing list