summaryrefslogtreecommitdiff
path: root/apps/crl2p7.c
diff options
context:
space:
mode:
authorulf <ulf>1999-04-19 21:25:39 +0000
committerulf <ulf>1999-04-19 21:25:39 +0000
commitc15c32f4b8c5290db6791c652d9187716bd3d15a (patch)
tree776c0c1c5687edc8659084b838ddaadbe6b9d29e /apps/crl2p7.c
parentcb859f5141c1672fc79d198b75426dd618b1fc25 (diff)
downloadopenssl-c15c32f4b8c5290db6791c652d9187716bd3d15a.tar.gz
Change functions to ANSI C.
Diffstat (limited to 'apps/crl2p7.c')
-rw-r--r--apps/crl2p7.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/crl2p7.c b/apps/crl2p7.c
index beadc96ca..aa407b709 100644
--- a/apps/crl2p7.c
+++ b/apps/crl2p7.c
@@ -87,9 +87,7 @@ static int add_certs_from_file();
* -out arg - output file - default stdout
*/
-int MAIN(argc, argv)
-int argc;
-char **argv;
+int MAIN(int argc, char **argv)
{
int i,badops=0;
BIO *in=NULL,*out=NULL;
@@ -288,9 +286,7 @@ end:
* number of certs added if successful, -1 if not.
*----------------------------------------------------------------------
*/
-static int add_certs_from_file(stack,certfile)
-STACK_OF(X509) *stack;
-char *certfile;
+static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile)
{
struct stat st;
BIO *in=NULL;