diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-26 18:43:10 +0200 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-26 18:43:10 +0200 |
commit | a9be3af5ad4836f7e50f0546311ca90c717b861e (patch) | |
tree | f44f7f8c4497d85da4c5cbd08067479bb20ced95 /crypto/threads | |
parent | Extensively changed the DEF file generator mkdef.pl to use a modified version (diff) | |
download | openssl-a9be3af5ad4836f7e50f0546311ca90c717b861e.tar.xz openssl-a9be3af5ad4836f7e50f0546311ca90c717b861e.zip |
Remove NOPROTO definitions and error code comments.
Diffstat (limited to 'crypto/threads')
-rw-r--r-- | crypto/threads/mttest.c | 23 | ||||
-rw-r--r-- | crypto/threads/th-lock.c | 16 |
2 files changed, 0 insertions, 39 deletions
diff --git a/crypto/threads/mttest.c b/crypto/threads/mttest.c index ff380908c1..142623edda 100644 --- a/crypto/threads/mttest.c +++ b/crypto/threads/mttest.c @@ -92,7 +92,6 @@ #define MAX_THREAD_NUMBER 100 -#ifndef NOPROTO int MS_CALLBACK verify_callback(int ok, X509 *xs, X509 *xi, int depth, int error,char *arg); void thread_setup(void); @@ -108,23 +107,6 @@ unsigned long irix_thread_id(void ); unsigned long solaris_thread_id(void ); unsigned long pthreads_thread_id(void ); -#else -int MS_CALLBACK verify_callback(); -void thread_setup(); -void thread_cleanup(); -void do_threads(); - -void irix_locking_callback(); -void solaris_locking_callback(); -void win32_locking_callback(); -void pthreads_locking_callback(); - -unsigned long irix_thread_id(); -unsigned long solaris_thread_id(); -unsigned long pthreads_thread_id(); - -#endif - BIO *bio_err=NULL; BIO *bio_stdout=NULL; @@ -139,12 +121,7 @@ int number_of_loops=10; int reconnect=0; int cache_stats=0; -#ifndef NOPROTO int doit(char *ctx[4]); -#else -int doit(); -#endif - static void print_stats(FILE *fp, SSL_CTX *ctx) { fprintf(fp,"%4ld items in the session cache\n", diff --git a/crypto/threads/th-lock.c b/crypto/threads/th-lock.c index 28721eaccd..afb4f4caf2 100644 --- a/crypto/threads/th-lock.c +++ b/crypto/threads/th-lock.c @@ -82,7 +82,6 @@ #include <openssl/ssl.h> #include <openssl/err.h> -#ifndef NOPROTO int CRYPTO_thread_setup(void); void CRYPTO_thread_cleanup(void); @@ -95,21 +94,6 @@ static unsigned long irix_thread_id(void ); static unsigned long solaris_thread_id(void ); static unsigned long pthreads_thread_id(void ); -#else -int CRYPOTO_thread_setup(); -void CRYPTO_cleanup(); - -static void irix_locking_callback(); -static void solaris_locking_callback(); -static void win32_locking_callback(); -static void pthreads_locking_callback(); - -static unsigned long irix_thread_id(); -static unsigned long solaris_thread_id(); -static unsigned long pthreads_thread_id(); - -#endif - /* usage: * CRYPTO_thread_setup(); * applicaion code |