Mercurial > dovecot > core-2.2
changeset 17402:48d651b2e82a
various - 'static' sparse cleanup
Signed-off-by: Phil Carmody <phil@dovecot.fi>
author | Phil Carmody <phil@dovecot.fi> |
---|---|
date | Tue, 27 May 2014 21:17:34 +0300 |
parents | 22f70e50c492 |
children | c94d57a3aba3 |
files | src/anvil/anvil-connection.c src/config/config-connection.c src/indexer/indexer-client.c src/pop3-login/client-authenticate.c src/ssl-params/main.c src/stats/mail-stats.c src/stats/main.c |
diffstat | 7 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/anvil/anvil-connection.c Tue May 27 21:17:34 2014 +0300 +++ b/src/anvil/anvil-connection.c Tue May 27 21:17:34 2014 +0300 @@ -32,7 +32,7 @@ unsigned int fifo:1; }; -struct anvil_connection *anvil_connections = NULL; +static struct anvil_connection *anvil_connections = NULL; static const char *const * anvil_connection_next_line(struct anvil_connection *conn)
--- a/src/config/config-connection.c Tue May 27 21:17:34 2014 +0300 +++ b/src/config/config-connection.c Tue May 27 21:17:34 2014 +0300 @@ -32,7 +32,7 @@ unsigned int handshaked:1; }; -struct config_connection *config_connections = NULL; +static struct config_connection *config_connections = NULL; static const char *const * config_connection_next_line(struct config_connection *conn)
--- a/src/indexer/indexer-client.c Tue May 27 21:17:34 2014 +0300 +++ b/src/indexer/indexer-client.c Tue May 27 21:17:34 2014 +0300 @@ -38,7 +38,7 @@ unsigned int tag; }; -struct indexer_client *clients = NULL; +static struct indexer_client *clients = NULL; static unsigned int clients_count = 0; static void indexer_client_destroy(struct indexer_client *client);
--- a/src/pop3-login/client-authenticate.c Tue May 27 21:17:34 2014 +0300 +++ b/src/pop3-login/client-authenticate.c Tue May 27 21:17:34 2014 +0300 @@ -19,7 +19,7 @@ #include <stdlib.h> -const char *capability_string = POP3_CAPABILITY_REPLY; +static const char *capability_string = POP3_CAPABILITY_REPLY; bool cmd_capa(struct pop3_client *client, const char *args ATTR_UNUSED) {
--- a/src/ssl-params/main.c Tue May 27 21:17:34 2014 +0300 +++ b/src/ssl-params/main.c Tue May 27 21:17:34 2014 +0300 @@ -21,7 +21,7 @@ }; static ARRAY(int) delayed_fds; -struct ssl_params *param; +static struct ssl_params *param; static buffer_t *ssl_params; static struct timeout *to_startup;
--- a/src/stats/mail-stats.c Tue May 27 21:17:34 2014 +0300 +++ b/src/stats/mail-stats.c Tue May 27 21:17:34 2014 +0300 @@ -9,7 +9,7 @@ TYPE_TIMEVAL }; -struct mail_stats_parse_map { +static struct mail_stats_parse_map { const char *name; unsigned int offset; unsigned int size;
--- a/src/stats/main.c Tue May 27 21:17:34 2014 +0300 +++ b/src/stats/main.c Tue May 27 21:17:34 2014 +0300 @@ -14,7 +14,7 @@ #include "mail-ip.h" #include "client.h" -struct stats_settings set; +static struct stats_settings set; static struct mail_server_connection *mail_server_conn = NULL; static void client_connected(struct master_service_connection *conn)