summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ui/ui_err.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-04-18 05:37:45 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-04-18 05:37:45 +0000
commit6d66d8ed4ae2548c53922f4507718fab901348e8 (patch)
tree4cbd5a9e9ae2fb2c9c1bfd7c74f97bb61bcbce74 /lib/libcrypto/ui/ui_err.c
parentf252c5a730431d44bc109fc8bdd8283a9311139d (diff)
More KNF.
Diffstat (limited to 'lib/libcrypto/ui/ui_err.c')
-rw-r--r--lib/libcrypto/ui/ui_err.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libcrypto/ui/ui_err.c b/lib/libcrypto/ui/ui_err.c
index a9b22e2e573..e8b841eb0d9 100644
--- a/lib/libcrypto/ui/ui_err.c
+++ b/lib/libcrypto/ui/ui_err.c
@@ -68,8 +68,7 @@
#define ERR_FUNC(func) ERR_PACK(ERR_LIB_UI,func,0)
#define ERR_REASON(reason) ERR_PACK(ERR_LIB_UI,0,reason)
-static ERR_STRING_DATA UI_str_functs[] =
-{
+static ERR_STRING_DATA UI_str_functs[] = {
{ERR_FUNC(UI_F_GENERAL_ALLOCATE_BOOLEAN), "GENERAL_ALLOCATE_BOOLEAN"},
{ERR_FUNC(UI_F_GENERAL_ALLOCATE_PROMPT), "GENERAL_ALLOCATE_PROMPT"},
{ERR_FUNC(UI_F_GENERAL_ALLOCATE_STRING), "GENERAL_ALLOCATE_STRING"},
@@ -85,8 +84,7 @@ static ERR_STRING_DATA UI_str_functs[] =
{0, NULL}
};
-static ERR_STRING_DATA UI_str_reasons[] =
-{
+static ERR_STRING_DATA UI_str_reasons[] = {
{ERR_REASON(UI_R_COMMON_OK_AND_CANCEL_CHARACTERS), "common ok and cancel characters"},
{ERR_REASON(UI_R_INDEX_TOO_LARGE), "index too large"},
{ERR_REASON(UI_R_INDEX_TOO_SMALL), "index too small"},
@@ -99,11 +97,10 @@ static ERR_STRING_DATA UI_str_reasons[] =
#endif
-void
+void
ERR_load_UI_strings(void)
{
#ifndef OPENSSL_NO_ERR
-
if (ERR_func_error_string(UI_str_functs[0].error) == NULL) {
ERR_load_strings(0, UI_str_functs);
ERR_load_strings(0, UI_str_reasons);