fix formatting of automatically generated error section

This commit is contained in:
Bodo Möller 2002-01-24 16:20:42 +00:00
parent a14e2d9dfe
commit 957b6db3b1
4 changed files with 5 additions and 0 deletions

View File

@ -618,6 +618,7 @@ int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args);
* made after this point may be overwritten when the script is next run.
*/
void ERR_load_BIO_strings(void);
/* Error codes for the BIO functions. */
/* Function codes. */

View File

@ -198,6 +198,7 @@ int CONF_parse_list(const char *list, int sep, int nospc,
* made after this point may be overwritten when the script is next run.
*/
void ERR_load_CONF_strings(void);
/* Error codes for the CONF functions. */
/* Function codes. */

View File

@ -625,6 +625,7 @@ typedef int (*dynamic_bind_engine)(ENGINE *e, const char *id,
* made after this point may be overwritten when the script is next run.
*/
void ERR_load_ENGINE_strings(void);
/* Error codes for the ENGINE functions. */
/* Function codes. */

View File

@ -269,6 +269,7 @@ EOF
if($static) {
print OUT <<"EOF";
${staticloader}void ERR_load_${lib}_strings(void);
EOF
} else {
print OUT <<"EOF";
@ -276,6 +277,7 @@ ${staticloader}void ERR_load_${lib}_strings(void);
${staticloader}void ERR_unload_${lib}_strings(void);
${staticloader}void ERR_${lib}_error(int function, int reason, char *file, int line);
#define ${lib}err(f,r) ERR_${lib}_error((f),(r),__FILE__,__LINE__)
EOF
}
print OUT <<"EOF";