remove redundant ERR_load_... declarations
[openssl.git] / crypto / buffer / buffer.h
index 6d6da3d1861387bf6697313f0d55f6b4341ccb9b..11e2d0359a11bf4cf3044e01f3b4da8f7532d86c 100644 (file)
@@ -70,26 +70,17 @@ typedef struct buf_mem_st
        int max;        /* size of buffer */
        } BUF_MEM;
 
-#ifndef NOPROTO
 BUF_MEM *BUF_MEM_new(void);
 void   BUF_MEM_free(BUF_MEM *a);
 int    BUF_MEM_grow(BUF_MEM *str, int len);
-char * BUF_strdup(char *str);
-
-void ERR_load_BUF_strings(void );
-
-#else
-
-BUF_MEM *BUF_MEM_new();
-void   BUF_MEM_free();
-int    BUF_MEM_grow();
-char * BUF_strdup();
-
-void ERR_load_BUF_strings();
-
-#endif
+char * BUF_strdup(const char *str);
 
 /* BEGIN ERROR CODES */
+/* 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);
+
 /* Error codes for the BUF functions. */
 
 /* Function codes. */
@@ -98,9 +89,8 @@ void ERR_load_BUF_strings();
 #define BUF_F_BUF_STRDUP                                102
 
 /* Reason codes. */
+
 #ifdef  __cplusplus
 }
 #endif
 #endif
-