Improve #include structure of pem{,2}.h
[openssl.git] / include / openssl / pem2.h
index cfe73f139ed3c291ecb9a6c68297035b1dd144ab..bad7ac897fa7e9e2315c9b62db92ee07f1e73c59 100644 (file)
@@ -7,14 +7,7 @@
  * https://www.openssl.org/source/license.html
  */
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef HEADER_PEM_H
-int ERR_load_PEM_strings(void);
-#endif
-
-#ifdef __cplusplus
-}
+#ifndef HEADER_PEM2_H
+# define HEADER_PEM2_H
+# include <openssl/pemerr.h>
 #endif