summaryrefslogtreecommitdiff
path: root/apps/nseq.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/nseq.c
parent3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff)
downloadopenssl-new-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.gz
Change functions to ANSI C.
Diffstat (limited to 'apps/nseq.c')
-rw-r--r--apps/nseq.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/nseq.c b/apps/nseq.c
index e87c6c77a7..3c70e4d2be 100644
--- a/apps/nseq.c
+++ b/apps/nseq.c
@@ -70,9 +70,7 @@ static int dump_cert_text(BIO *out, X509 *x);
static int dump_cert_text();
#endif
-int MAIN(argc, argv)
-int argc;
-char **argv;
+int MAIN(int argc, char **argv)
{
char **args, *infile = NULL, *outfile = NULL;
BIO *in = NULL, *out = NULL;
@@ -163,9 +161,7 @@ end:
EXIT(ret);
}
-static int dump_cert_text(out, x)
-BIO *out;
-X509 *x;
+static int dump_cert_text(BIO *out, X509 *x)
{
char buf[256];
X509_NAME_oneline(X509_get_subject_name(x),buf,256);