From b5acbf914833a83368e51766de4cf2e2074a9436 Mon Sep 17 00:00:00 2001 From: "Dr. Matthias St. Pierre" Date: Fri, 27 Sep 2019 23:58:06 +0200 Subject: Reorganize local header files Apart from public and internal header files, there is a third type called local header files, which are located next to source files in the source directory. Currently, they have different suffixes like '*_lcl.h', '*_local.h', or '*_int.h' This commit changes the different suffixes to '*_local.h' uniformly. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9681) --- crypto/conf/conf_lcl.h | 11 ----------- crypto/conf/conf_local.h | 11 +++++++++++ crypto/conf/conf_mall.c | 2 +- crypto/conf/conf_ssl.c | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 crypto/conf/conf_lcl.h create mode 100644 crypto/conf/conf_local.h (limited to 'crypto/conf') diff --git a/crypto/conf/conf_lcl.h b/crypto/conf/conf_lcl.h deleted file mode 100644 index 6e1f7fe00d..0000000000 --- a/crypto/conf/conf_lcl.h +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -void conf_add_ssl_module(void); - diff --git a/crypto/conf/conf_local.h b/crypto/conf/conf_local.h new file mode 100644 index 0000000000..6e1f7fe00d --- /dev/null +++ b/crypto/conf/conf_local.h @@ -0,0 +1,11 @@ +/* + * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + +void conf_add_ssl_module(void); + diff --git a/crypto/conf/conf_mall.c b/crypto/conf/conf_mall.c index 7e86948e89..d7eaa8509b 100644 --- a/crypto/conf/conf_mall.c +++ b/crypto/conf/conf_mall.c @@ -14,7 +14,7 @@ #include #include #include -#include "conf_lcl.h" +#include "conf_local.h" /* Load all OpenSSL builtin modules */ diff --git a/crypto/conf/conf_ssl.c b/crypto/conf/conf_ssl.c index 387f2cf46c..4bd8117d36 100644 --- a/crypto/conf/conf_ssl.c +++ b/crypto/conf/conf_ssl.c @@ -12,7 +12,7 @@ #include #include #include "internal/sslconf.h" -#include "conf_lcl.h" +#include "conf_local.h" /* * SSL library configuration module placeholder. We load it here but defer -- cgit v1.2.3