summaryrefslogtreecommitdiffstats
path: root/apps/genrsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/genrsa.c')
-rw-r--r--apps/genrsa.c12
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;