Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto fix main prototypes.



details:   https://anonhg.NetBSD.org/src/rev/166df6069145
branches:  trunk
changeset: 765018:166df6069145
user:      christos <christos%NetBSD.org@localhost>
date:      Mon May 16 00:08:33 2011 +0000

description:
fix main prototypes.

diffstat:

 crypto/external/bsd/openssl/dist/crypto/conf/test.c      |  3 ++-
 crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c  |  3 ++-
 crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c |  3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 775e52c7cd3d -r 166df6069145 crypto/external/bsd/openssl/dist/crypto/conf/test.c
--- a/crypto/external/bsd/openssl/dist/crypto/conf/test.c       Mon May 16 00:03:36 2011 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/conf/test.c       Mon May 16 00:08:33 2011 +0000
@@ -61,7 +61,8 @@
 #include <openssl/conf.h>
 #include <openssl/err.h>
 
-main()
+int
+main(void)
        {
        LHASH_OF(CONF_VALUE) *conf;
        long eline;
diff -r 775e52c7cd3d -r 166df6069145 crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c
--- a/crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c   Mon May 16 00:03:36 2011 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/lhash/lh_test.c   Mon May 16 00:08:33 2011 +0000
@@ -61,7 +61,8 @@
 #include <string.h>
 #include <openssl/lhash.h>
 
-main()
+int
+main(void)
        {
        _LHASH *conf;
        char buf[256];
diff -r 775e52c7cd3d -r 166df6069145 crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c
--- a/crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c  Mon May 16 00:03:36 2011 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/x509v3/tabtest.c  Mon May 16 00:08:33 2011 +0000
@@ -66,7 +66,8 @@
 
 #include "ext_dat.h"
 
-main()
+int
+main(void)
 {
        int i, prev = -1, bad = 0;
        const X509V3_EXT_METHOD **tmp;



Home | Main Index | Thread Index | Old Index