Check for errors allocating the error strings.
[openssl.git] / include / openssl / comp.h
index 4d66cbbd055dfac7fa68f1cdb9369ea7b8a03ec0..260ff1e0acc70c88fdd25a92c3e07ff6846c7b2f 100644 (file)
@@ -49,7 +49,8 @@ const BIO_METHOD *BIO_f_zlib(void);
  * The following lines are auto generated by the script mkerr.pl. Any changes
  * made after this point may be overwritten when the script is next run.
  */
-void ERR_load_COMP_strings(void);
+
+int ERR_load_COMP_strings(void);
 
 /* Error codes for the COMP functions. */
 
@@ -64,9 +65,8 @@ void ERR_load_COMP_strings(void);
 # define COMP_R_ZLIB_INFLATE_ERROR                        100
 # define COMP_R_ZLIB_NOT_SUPPORTED                        101
 
-#ifdef  __cplusplus
+#  ifdef  __cplusplus
 }
+#  endif
 # endif
-# endif
-
 #endif