From: jsing Date: Fri, 11 Oct 2024 12:19:35 +0000 (+0000) Subject: Add err_ prefix to build_SYS_str_reasons(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=91e90702b850d65a1b2ed5da9c0dc73c0aab21c1;p=openbsd Add err_ prefix to build_SYS_str_reasons(). --- diff --git a/lib/libcrypto/err/err.c b/lib/libcrypto/err/err.c index d3900a75f46..cbc004885ca 100644 --- a/lib/libcrypto/err/err.c +++ b/lib/libcrypto/err/err.c @@ -1,4 +1,4 @@ -/* $OpenBSD: err.c,v 1.67 2024/10/11 12:10:12 jsing Exp $ */ +/* $OpenBSD: err.c,v 1.68 2024/10/11 12:19:35 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -485,7 +485,7 @@ static ERR_STRING_DATA SYS_str_reasons[NUM_SYS_STR_REASONS + 1]; * value and never one of those 'standard' reason codes. */ static void -build_SYS_str_reasons(void) +err_build_SYS_str_reasons(void) { /* malloc cannot be used here, use static storage instead */ static char strerror_tab[NUM_SYS_STR_REASONS][LEN_SYS_STR_REASON]; @@ -700,7 +700,7 @@ ERR_load_ERR_strings_internal(void) err_load_const_strings(ERR_str_libraries); err_load_const_strings(ERR_str_reasons); err_load_const_strings(ERR_str_functs); - build_SYS_str_reasons(); + err_build_SYS_str_reasons(); err_load_strings(ERR_LIB_SYS, SYS_str_reasons); #endif }