summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand.h
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-26 16:43:10 +0000
committerUlf Möller <ulf@openssl.org>1999-04-26 16:43:10 +0000
commita9be3af5ad4836f7e50f0546311ca90c717b861e (patch)
treef44f7f8c4497d85da4c5cbd08067479bb20ced95 /crypto/rand/rand.h
parent47339f6179fbefafc793c10b0411ed0365497d65 (diff)
Remove NOPROTO definitions and error code comments.
Diffstat (limited to 'crypto/rand/rand.h')
-rw-r--r--crypto/rand/rand.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h
index 7baac68ee5..fd8ee38366 100644
--- a/crypto/rand/rand.h
+++ b/crypto/rand/rand.h
@@ -65,18 +65,11 @@ extern "C" {
typedef struct rand_meth_st
{
-#ifndef NOPROTO
void (*seed)(const void *buf, int num);
void (*bytes)(unsigned char *buf, int num);
void (*cleanup)(void);
-#else
- void (*seed)();
- void (*bytes)();
- void (*cleanup)();
-#endif
} RAND_METHOD;
-#ifndef NOPROTO
void RAND_set_rand_method(RAND_METHOD *meth);
RAND_METHOD *RAND_get_rand_method(void );
RAND_METHOD *RAND_SSLeay(void);
@@ -89,21 +82,6 @@ char *RAND_file_name(char *file,int num);
#ifdef WINDOWS
void RAND_screen(void);
#endif
-#else
-void RAND_set_rand_method();
-RAND_METHOD *RAND_get_rand_method();
-RAND_METHOD *RAND_SSLeay();
-void RAND_cleanup();
-void RAND_bytes();
-void RAND_seed();
-int RAND_load_file();
-int RAND_write_file();
-char *RAND_file_name();
-#ifdef WINDOWS
-void RAND_screen();
-#endif
-#endif
-
#ifdef __cplusplus
}
#endif