aboutsummaryrefslogtreecommitdiff
path: root/tools/build/cross-build/include/linux/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/cross-build/include/linux/unistd.h')
-rw-r--r--tools/build/cross-build/include/linux/unistd.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/tools/build/cross-build/include/linux/unistd.h b/tools/build/cross-build/include/linux/unistd.h
index 0a6b6296a9de..9d1bd1bf4025 100644
--- a/tools/build/cross-build/include/linux/unistd.h
+++ b/tools/build/cross-build/include/linux/unistd.h
@@ -62,26 +62,8 @@ issetugid(void)
}
#endif
-static inline char *
-fflagstostr(u_long flags)
-{
- return strdup("");
-}
-
-static inline int
-strtofflags(char **stringp, u_long *setp, u_long *clrp)
-{
- /* On linux just ignore the file flags for now */
- /*
- * XXXAR: this will prevent makefs from setting noschg on libc, etc
- * so we should really build the version from libc
- */
- if (setp)
- *setp = 0;
- if (clrp)
- *clrp = 0;
- return (0); /* success */
-}
+char *fflagstostr(unsigned long flags);
+int strtofflags(char **stringp, u_long *setp, u_long *clrp);
/*
* getentropy() was added in glibc 2.25. Declare it for !glibc and older