]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: client: Made client_remote_id() static.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 9 Oct 2017 23:03:02 +0000 (01:03 +0200)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Fri, 8 Dec 2017 18:41:03 +0000 (19:41 +0100)
src/lmtp/client.c
src/lmtp/client.h

index a24eb4e91f5c2870d4badd8e409cf4aab7e8f8f9..2bddf4ccc80152288e83fb7aca49a183d6406202 100644 (file)
@@ -40,7 +40,7 @@ static bool verbose_proctitle = FALSE;
 
 static const struct smtp_server_callbacks lmtp_callbacks;
 
-const char *client_remote_id(struct client *client)
+static const char *client_remote_id(struct client *client)
 {
        const char *addr;
 
index c640266a23f3b6c655ec6b1b3cf586438ce13a9a..d35bfdf2eab9e6e190e55739d907597a984f485d 100644 (file)
@@ -65,7 +65,6 @@ void client_destroy(struct client *client, const char *enh_code,
                    const char *reason) ATTR_NULL(2, 3);
 void client_disconnect(struct client *client, const char *enh_code,
                       const char *reason) ATTR_NULL(2, 3);
-const char *client_remote_id(struct client *client);
 
 const char *client_state_get_name(struct client *client);
 void client_state_reset(struct client *client);