diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /apps/genrsa.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) |
Change functions to ANSI C.
Diffstat (limited to 'apps/genrsa.c')
-rw-r--r-- | apps/genrsa.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/apps/genrsa.c b/apps/genrsa.c index cdba6189ad..f83bafc7f1 100644 --- a/apps/genrsa.c +++ b/apps/genrsa.c @@ -82,9 +82,7 @@ static void MS_CALLBACK genrsa_cb(); static long gr_load_rand(); #endif -int MAIN(argc, argv) -int argc; -char **argv; +int MAIN(int argc, char **argv) { int ret=1; char buffer[200]; @@ -234,10 +232,7 @@ err: EXIT(ret); } -static void MS_CALLBACK genrsa_cb(p, n, arg) -int p; -int n; -char *arg; +static void MS_CALLBACK genrsa_cb(int p, int n, char *arg) { char c='*'; @@ -252,8 +247,7 @@ char *arg; #endif } -static long gr_load_rand(name) -char *name; +static long gr_load_rand(char *name) { char *p,*n; int last; |