git: a06761e3f473 - main - secure_getenv: Put under __BSD_VISIBLE

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 14 Mar 2023 23:43:16 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=a06761e3f4738de3a33696fd71cce571c489eec4

commit a06761e3f4738de3a33696fd71cce571c489eec4
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-03-14 23:42:18 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-03-14 23:43:13 +0000

    secure_getenv: Put under __BSD_VISIBLE
    
    Sponsored by:           Netflix
    Reviewed by:            delphij
    Differential Revision:  https://reviews.freebsd.org/D39076
---
 include/stdlib.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/stdlib.h b/include/stdlib.h
index c41e8704e810..730223e7fd77 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -111,7 +111,6 @@ void	 qsort(void *, size_t, size_t,
 	    int (* _Nonnull)(const void *, const void *));
 int	 rand(void);
 void	*realloc(void *, size_t) __result_use_check __alloc_size(2);
-char	*secure_getenv(const char *);
 void	 srand(unsigned);
 double	 strtod(const char * __restrict, char ** __restrict);
 float	 strtof(const char * __restrict, char ** __restrict);
@@ -320,6 +319,7 @@ void	*reallocarray(void *, size_t, size_t) __result_use_check
 	    __alloc_size2(2, 3);
 void	*reallocf(void *, size_t) __result_use_check __alloc_size(2);
 int	 rpmatch(const char *);
+char	*secure_getenv(const char *);
 void	 setprogname(const char *);
 int	 sradixsort(const unsigned char **, int, const unsigned char *,
 	    unsigned);