Remove some unneeded functions
[oweals/openssl.git] / include / openssl / buffer.h
index c006c656683404009e3fa05c7738f13bd15c4720..91f0e07ff91a320e371470d4f230dd5bb6a009aa 100644 (file)
@@ -36,7 +36,7 @@ extern "C" {
 # define BUF_strlcpy(dst, src, size)  OPENSSL_strlcpy(dst, src, size)
 # define BUF_strlcat(dst, src, size) OPENSSL_strlcat(dst, src, size)
 # define BUF_strnlen(str, maxlen) OPENSSL_strnlen(str, maxlen)
+
 struct buf_mem_st {
     size_t length;              /* current number of bytes */
     char *data;
@@ -58,7 +58,8 @@ void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz);
  * 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_BUF_strings(void);
+
+int ERR_load_BUF_strings(void);
 
 /* Error codes for the BUF functions. */
 
@@ -69,7 +70,7 @@ void ERR_load_BUF_strings(void);
 
 /* Reason codes. */
 
-#ifdef  __cplusplus
+# ifdef  __cplusplus
 }
-#endif
+# endif
 #endif