summaryrefslogtreecommitdiff
path: root/crypto/asn1/a_strnid.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/asn1/a_strnid.c')
-rw-r--r--crypto/asn1/a_strnid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/asn1/a_strnid.c b/crypto/asn1/a_strnid.c
index ded339a..e61de70 100644
--- a/crypto/asn1/a_strnid.c
+++ b/crypto/asn1/a_strnid.c
@@ -251,7 +251,8 @@ static void st_free(ASN1_STRING_TABLE *tbl)
#ifdef STRING_TABLE_TEST
-main()
+int
+main(void)
{
ASN1_STRING_TABLE *tmp;
int i, last_nid = -1;
@@ -278,6 +279,7 @@ main()
printf("Index %d, NID %d, Name=%s\n", i, tmp->nid,
OBJ_nid2ln(tmp->nid));
+ return 0;
}
#endif