aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rc4
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/rc4
parent47339f6179fbefafc793c10b0411ed0365497d65 (diff)
downloadopenssl-a9be3af5ad4836f7e50f0546311ca90c717b861e.tar.gz
Remove NOPROTO definitions and error code comments.
Diffstat (limited to 'crypto/rc4')
-rw-r--r--crypto/rc4/rc4.h9
-rw-r--r--crypto/rc4/rc4speed.c10
2 files changed, 0 insertions, 19 deletions
diff --git a/crypto/rc4/rc4.h b/crypto/rc4/rc4.h
index ea66f1ce8d..8d2b165dc2 100644
--- a/crypto/rc4/rc4.h
+++ b/crypto/rc4/rc4.h
@@ -71,21 +71,12 @@ typedef struct rc4_key_st
RC4_INT data[256];
} RC4_KEY;
-#ifndef NOPROTO
const char *RC4_options(void);
void RC4_set_key(RC4_KEY *key, int len, unsigned char *data);
void RC4(RC4_KEY *key, unsigned long len, unsigned char *indata,
unsigned char *outdata);
-#else
-
-const char *RC4_options();
-void RC4_set_key();
-void RC4();
-
-#endif
-
#ifdef __cplusplus
}
#endif
diff --git a/crypto/rc4/rc4speed.c b/crypto/rc4/rc4speed.c
index f76262dd72..e1365170ab 100644
--- a/crypto/rc4/rc4speed.c
+++ b/crypto/rc4/rc4speed.c
@@ -116,12 +116,7 @@ struct tms {
#define BUFSIZE ((long)1024)
long run=0;
-#ifndef NOPROTO
double Time_F(int s);
-#else
-double Time_F();
-#endif
-
#ifdef SIGALRM
#if defined(__STDC__) || defined(sgi) || defined(_AIX)
#define SIGRETTYPE void
@@ -129,12 +124,7 @@ double Time_F();
#define SIGRETTYPE int
#endif
-#ifndef NOPROTO
SIGRETTYPE sig_done(int sig);
-#else
-SIGRETTYPE sig_done();
-#endif
-
SIGRETTYPE sig_done(int sig)
{
signal(SIGALRM,sig_done);