From 0d9e8c286df6cdda1fe53baf3339f0db7acdaafd Mon Sep 17 00:00:00 2001 From: Alfonso Gregory Date: Fri, 25 Jun 2021 11:30:57 -0400 Subject: [PATCH] Change strmode argument type to mode_t for crossbuild To match the libc changes. Reviewed by: imp@ Pull Request: https://github.com/freebsd/freebsd-src/pull/493 --- tools/build/cross-build/include/linux/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/cross-build/include/linux/string.h b/tools/build/cross-build/include/linux/string.h index 485cc2b680b..1d173974a5b 100644 --- a/tools/build/cross-build/include/linux/string.h +++ b/tools/build/cross-build/include/linux/string.h @@ -52,7 +52,7 @@ __BEGIN_DECLS size_t strlcpy(char *dst, const char *src, size_t siz); size_t strlcat(char *dst, const char *src, size_t siz); char *strnstr(const char *str, const char *find, size_t str_len); -void strmode(/* mode_t*/ int mode, char *str); +void strmode(mode_t mode, char *str); #if !defined(__GLIBC__) || \ (defined(__GLIBC__) && (!__GLIBC_PREREQ(2, 25) || !defined(_GNU_SOURCE)))