X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fbuffer%2Fbuffer.h;h=bff26bf3919176b859b59534b54581b5f7263bd4;hb=c04949e97877c7e9e362ab3022b2e7d4988b3e37;hp=417548c04a474789f71220be133b448962343146;hpb=7dfb0b774e6592dcbfe47015168a0ac8b44e2a17;p=oweals%2Fopenssl.git diff --git a/crypto/buffer/buffer.h b/crypto/buffer/buffer.h index 417548c04a..bff26bf391 100644 --- a/crypto/buffer/buffer.h +++ b/crypto/buffer/buffer.h @@ -70,36 +70,27 @@ 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); +char * BUF_strdup(const 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 - /* 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. + */ + /* Error codes for the BUF functions. */ /* Function codes. */ #define BUF_F_BUF_MEM_GROW 100 #define BUF_F_BUF_MEM_NEW 101 #define BUF_F_BUF_STRDUP 102 -#define BUF_F_PXYCLNT_READ 103 /* Reason codes. */ - + #ifdef __cplusplus } #endif