aboutsummaryrefslogtreecommitdiff
path: root/tools/build/cross-build
diff options
context:
space:
mode:
authorAlfonso Gregory <gfunni234@gmail.com>2021-06-25 15:30:57 +0000
committerWarner Losh <imp@FreeBSD.org>2021-06-29 23:39:55 +0000
commit0d9e8c286df6cdda1fe53baf3339f0db7acdaafd (patch)
tree243af2e0098e7fa00390eed5b202a2918f85c0ab /tools/build/cross-build
parent849dcdb1c0c50b13f97d67c912f0edac82688281 (diff)
downloadsrc-0d9e8c286df6cdda1fe53baf3339f0db7acdaafd.tar.gz
src-0d9e8c286df6cdda1fe53baf3339f0db7acdaafd.zip
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
Diffstat (limited to 'tools/build/cross-build')
-rw-r--r--tools/build/cross-build/include/linux/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/cross-build/include/linux/string.h b/tools/build/cross-build/include/linux/string.h
index 485cc2b680b5..1d173974a5bd 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)))