dovecot-2.2: director: explicitly mark _disconnect() helper stat...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jun 15 11:58:37 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/8bde19f080ad
changeset: 18858:8bde19f080ad
user:      Phil Carmody <phil at dovecot.fi>
date:      Mon Jun 15 14:54:58 2015 +0300
description:
director: explicitly mark _disconnect() helper static to match proto
No functional change, compiler would not have exported the symbol, this
just shuts up sparse.

Signed-off-by: Phil Carmody <phil at dovecot.fi>

diffstat:

 src/director/director-connection.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r bd1dabfcfae3 -r 8bde19f080ad src/director/director-connection.c
--- a/src/director/director-connection.c	Mon Jun 15 14:51:46 2015 +0300
+++ b/src/director/director-connection.c	Mon Jun 15 14:54:58 2015 +0300
@@ -1868,8 +1868,8 @@
 	}
 }
 
-void director_connection_disconnected(struct director_connection **_conn,
-				      const char *reason)
+static void director_connection_disconnected(struct director_connection **_conn,
+					     const char *reason)
 {
 	struct director_connection *conn = *_conn;
 	struct director *dir = conn->dir;


More information about the dovecot-cvs mailing list