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/gendh.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) |
Change functions to ANSI C.
Diffstat (limited to 'apps/gendh.c')
-rw-r--r-- | apps/gendh.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/apps/gendh.c b/apps/gendh.c index 2790f179fd..8900b4f1af 100644 --- a/apps/gendh.c +++ b/apps/gendh.c @@ -81,9 +81,7 @@ static void MS_CALLBACK dh_cb(); static long dh_load_rand(); #endif -int MAIN(argc, argv) -int argc; -char **argv; +int MAIN(int argc, char **argv) { char buffer[200]; DH *dh=NULL; @@ -191,10 +189,7 @@ end: EXIT(ret); } -static void MS_CALLBACK dh_cb(p,n,arg) -int p; -int n; -char *arg; +static void MS_CALLBACK dh_cb(int p, int n, char *arg) { char c='*'; @@ -209,8 +204,7 @@ char *arg; #endif } -static long dh_load_rand(name) -char *name; +static long dh_load_rand(char *name) { char *p,*n; int last; |