dovecot-1.2-sieve: Omitted 'extern' in two declarations of globa...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Mon Jan 25 21:59:40 EET 2010


details:   http://hg.rename-it.nl/dovecot-1.2-sieve/rev/fe0b2ff50326
changeset: 1231:fe0b2ff50326
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Mon Jan 25 20:59:20 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 939eb4311735 -r fe0b2ff50326 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 20:59:20 2010 +0100
@@ -10,12 +10,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_environment;
+extern const struct sieve_environment sieve_tool_environment;
 
 /*
  * Initialization
diff -r 939eb4311735 -r fe0b2ff50326 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 20:59:20 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