projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change functions to ANSI C.
[openssl.git]
/
crypto
/
des
/
speed.c
diff --git
a/crypto/des/speed.c
b/crypto/des/speed.c
index bac078e054c31b128c2cfb5dbff87ba898085bf8..1384c9419ef90efd41b17ff4d0062c70ae7f4520 100644
(file)
--- a/
crypto/des/speed.c
+++ b/
crypto/des/speed.c
@@
-139,8
+139,7
@@
SIGRETTYPE sig_done(int sig);
SIGRETTYPE sig_done();
#endif
SIGRETTYPE sig_done();
#endif
-SIGRETTYPE sig_done(sig)
-int sig;
+SIGRETTYPE sig_done(int sig)
{
signal(SIGALRM,sig_done);
run=0;
{
signal(SIGALRM,sig_done);
run=0;
@@
-153,8
+152,7
@@
int sig;
#define START 0
#define STOP 1
#define START 0
#define STOP 1
-double Time_F(s)
-int s;
+double Time_F(int s)
{
double ret;
#ifdef TIMES
{
double ret;
#ifdef TIMES
@@
-190,9
+188,7
@@
int s;
#endif
}
#endif
}
-int main(argc,argv)
-int argc;
-char **argv;
+int main(int argc, char **argv)
{
long count;
static unsigned char buf[BUFSIZE];
{
long count;
static unsigned char buf[BUFSIZE];