From 3c25e877da7ba4a11e0c9bd5f65f8857cb8f272b Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 18 Jun 2004 19:51:39 +0000 Subject: Fix various compiler warnings. svn path=/trunk/; revision=3899 --- socket.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'socket.c') diff --git a/socket.c b/socket.c index 4b1b3203..83fd4d64 100644 --- a/socket.c +++ b/socket.c @@ -80,7 +80,7 @@ extern int mailserver_socket_temp; /* Socket to close if connect timeout */ #endif /* NET_SECURITY */ #ifdef HAVE_SOCKETPAIR -char *const *parse_plugin(const char *plugin, const char *host, const char *service) +static char *const *parse_plugin(const char *plugin, const char *host, const char *service) { const char **argvec; const char *c, *p; char *cp, *plugin_copy; @@ -752,7 +752,7 @@ SSL *SSLGetContext( int sock ) } -int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx, int strict ) +static int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx, int strict ) { char buf[257]; X509 *x509_cert; @@ -884,12 +884,12 @@ int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx, int strict ) return (ok_return); } -int SSL_nock_verify_callback( int ok_return, X509_STORE_CTX *ctx ) +static int SSL_nock_verify_callback( int ok_return, X509_STORE_CTX *ctx ) { return SSL_verify_callback(ok_return, ctx, 0); } -int SSL_ck_verify_callback( int ok_return, X509_STORE_CTX *ctx ) +static int SSL_ck_verify_callback( int ok_return, X509_STORE_CTX *ctx ) { return SSL_verify_callback(ok_return, ctx, 1); } -- cgit v1.2.3