summaryrefslogtreecommitdiffstats
path: root/apps/crl2p7.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-19 21:31:43 +0000
committerUlf Möller <ulf@openssl.org>1999-04-19 21:31:43 +0000
commit6b691a5c85ddc4e407e32781841fee5c029506cd (patch)
tree436f1127406e1cacfe83dfcbfff824d89c47d834 /apps/crl2p7.c
parent3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff)
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 beadc96caf..aa407b7098 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;