indent has problems with comments that are on the right hand side of a line.
[openssl.git] / crypto / des / des_ver.h
index de3c02f110cfaba77e27e2b3e53d1300e1d93cc0..d1ada258a65c288c1ff100eeab246ab787845c83 100644 (file)
  */
 
 #include <openssl/e_os2.h>
-OPENSSL_EXTERN char *DES_version;      /* SSLeay version string */
-OPENSSL_EXTERN char *libdes_version;   /* old libdes version string */
+
+#ifdef OPENSSL_BUILD_SHLIBCRYPTO
+# undef OPENSSL_EXTERN
+# define OPENSSL_EXTERN OPENSSL_EXPORT
+#endif
+
+/* The following macros make sure the names are different from libdes names */
+#define DES_version OSSL_DES_version
+#define libdes_version OSSL_libdes_version
+
+OPENSSL_EXTERN const char OSSL_DES_version[];  /* SSLeay version string */
+OPENSSL_EXTERN const char OSSL_libdes_version[];       /* old libdes version string */