From 957b6db3b1085b63552e282fa9eeeb074a41e13c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Thu, 24 Jan 2002 16:20:42 +0000 Subject: [PATCH] fix formatting of automatically generated error section --- crypto/bio/bio.h | 1 + crypto/conf/conf.h | 1 + crypto/engine/engine.h | 1 + util/mkerr.pl | 2 ++ 4 files changed, 5 insertions(+) diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h index 44861f393a..b122c7069d 100644 --- a/crypto/bio/bio.h +++ b/crypto/bio/bio.h @@ -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. */ diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h index a179a5f612..2c6f573349 100644 --- a/crypto/conf/conf.h +++ b/crypto/conf/conf.h @@ -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. */ diff --git a/crypto/engine/engine.h b/crypto/engine/engine.h index 15fca9ba7e..2c5ad3c8ca 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h @@ -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. */ diff --git a/util/mkerr.pl b/util/mkerr.pl index 158b6af424..fc481eec0a 100644 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -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"; -- 2.25.1