GCCE fixes (Bug 2971) : Remove IMPORT_C statements in ext_dat.h as these are not necessary within same module and cause "not constant" error with GCCE GCC_SURGE
authorandy simpson <andrews@symbian.org>
Wed, 16 Jun 2010 14:29:22 +0100
branchGCC_SURGE
changeset 37 b0cf6e9637d2
parent 36 6a60b9d459b4
child 38 ea84df9fe210
GCCE fixes (Bug 2971) : Remove IMPORT_C statements in ext_dat.h as these are not necessary within same module and cause "not constant" error with GCCE
ssl/libcrypto/src/crypto/x509v3/ext_dat.h
--- a/ssl/libcrypto/src/crypto/x509v3/ext_dat.h	Wed Jun 16 08:14:03 2010 +0100
+++ b/ssl/libcrypto/src/crypto/x509v3/ext_dat.h	Wed Jun 16 14:29:22 2010 +0100
@@ -66,14 +66,9 @@
 #include "libcrypto_wsd.h"
 #endif
 
-/* Extra declerations are added only to satisfy the RVCT2.2.
- RVCT4.0 is perfectly fine with out the extra declerations
- (the first 2 lines below)*/
+/* No need to add IMPORT_C as these functions are in the same executable */
 extern X509V3_EXT_METHOD v3_ext_ku;
 extern X509V3_EXT_METHOD v3_ocsp_accresp;
-IMPORT_C extern X509V3_EXT_METHOD v3_ext_ku;
-IMPORT_C extern X509V3_EXT_METHOD v3_ocsp_accresp;
-
 extern X509V3_EXT_METHOD v3_bcons, v3_nscert, v3_key_usage;
 extern X509V3_EXT_METHOD v3_pkey_usage_period, v3_sxnet, v3_info, v3_sinfo;
 extern X509V3_EXT_METHOD v3_ns_ia5_list[], v3_alt[], v3_skey_id, v3_akey_id;