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
This commit is contained in:
Alfonso Gregory 2021-06-25 11:30:57 -04:00 committed by Warner Losh
parent 849dcdb1c0
commit 0d9e8c286d

View File

@ -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)))