X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=apps%2Fversion.c;h=f5c9adc25471c17e8f05ae54822c28ad15fb70e4;hp=a84943329ca78936a85bfbd2f680dadf7da694e6;hb=9f7f1ff75e347577c9b93840ef33bd06422edc18;hpb=b7896b3cb86d80206af14a14d69b0717786f2729 diff --git a/apps/version.c b/apps/version.c index a84943329c..f5c9adc254 100644 --- a/apps/version.c +++ b/apps/version.c @@ -1,5 +1,5 @@ /* apps/version.c */ -/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) +/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written @@ -60,24 +60,24 @@ #include #include #include "apps.h" -#include "evp.h" -#include "crypto.h" +#include +#include #undef PROG #define PROG version_main -int MAIN(argc, argv) -int argc; -char **argv; +int MAIN(int, char **); + +int MAIN(int argc, char **argv) { int i,ret=0; - int cflags=0,version=0,date=0,options=0; + int cflags=0,version=0,date=0,options=0,platform=0; apps_startup(); if (bio_err == NULL) if ((bio_err=BIO_new(BIO_s_file())) != NULL) - BIO_set_fp(bio_err,stderr,BIO_NOCLOSE); + BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); if (argc == 1) version=1; for (i=1; i