From: Richard Levitte Date: Fri, 6 Dec 2002 08:50:06 +0000 (+0000) Subject: Some compilers are quite picky about non-void functions that don't return X-Git-Tag: STATE_before_zlib~4 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=3dda0dd2a26c7e0a9e199b7803a914c8bd6577c2;ds=inline Some compilers are quite picky about non-void functions that don't return anything. --- diff --git a/crypto/dsa/dsatest.c b/crypto/dsa/dsatest.c index 3fb434d792..1ab90cfd7e 100644 --- a/crypto/dsa/dsatest.c +++ b/crypto/dsa/dsatest.c @@ -222,6 +222,7 @@ end: static int cb_exit(int ec) { EXIT(ec); + return(0); /* To keep some compilers quiet */ } static void MS_CALLBACK dsa_cb(int p, int n, void *arg) diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c index 22006d9092..698aff21dc 100644 --- a/crypto/evp/evp_test.c +++ b/crypto/evp/evp_test.c @@ -126,6 +126,7 @@ static unsigned char *ustrsep(char **p,const char *sep) static int test1_exit(int ec) { EXIT(ec); + return(0); /* To keep some compilers quiet */ } static void test1(const EVP_CIPHER *c,const unsigned char *key,int kn,