Fix duplicate declarations Change-Id: Id5fda00fe27eb9bc8313dd81a5b0c720323e3903 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/53045 Reviewed-by: Bob Beck <bbe@google.com> Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Bob Beck <bbe@google.com>
diff --git a/crypto/asn1/internal.h b/crypto/asn1/internal.h index 29ae206..100d3b1 100644 --- a/crypto/asn1/internal.h +++ b/crypto/asn1/internal.h
@@ -126,8 +126,9 @@ unsigned alias_only_on_next_parse : 1; } ASN1_ENCODING; -int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d); -int asn1_generalizedtime_to_tm(struct tm *tm, const ASN1_GENERALIZEDTIME *d); +OPENSSL_EXPORT int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d); +OPENSSL_EXPORT int asn1_generalizedtime_to_tm(struct tm *tm, + const ASN1_GENERALIZEDTIME *d); void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine); @@ -216,9 +217,6 @@ OPENSSL_EXPORT void asn1_get_string_table_for_testing( const ASN1_STRING_TABLE **out_ptr, size_t *out_len); -OPENSSL_EXPORT int asn1_generalizedtime_to_tm(struct tm *tm, - const ASN1_GENERALIZEDTIME *d); -OPENSSL_EXPORT int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d); #if defined(__cplusplus) } /* extern C */