diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-06-18 19:51:39 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-06-18 19:51:39 +0000 |
commit | 3c25e877da7ba4a11e0c9bd5f65f8857cb8f272b (patch) | |
tree | e629f2ba436ab8a1062638eb1e3176696abfd1f6 /socket.c | |
parent | 8f3f473c829e8691ef5566d73f3f130b492e36ba (diff) | |
download | fetchmail-3c25e877da7ba4a11e0c9bd5f65f8857cb8f272b.tar.gz fetchmail-3c25e877da7ba4a11e0c9bd5f65f8857cb8f272b.tar.bz2 fetchmail-3c25e877da7ba4a11e0c9bd5f65f8857cb8f272b.zip |
Fix various compiler warnings.
svn path=/trunk/; revision=3899
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); } |