From ce877f2d161b80119fd6bf6ccd2c7013252156d7 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 24 Nov 2010 16:41:20 +0100 Subject: lib: [strutils] move strmode() from namei.c to strutils.c Signed-off-by: Karel Zak --- include/strutils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/strutils.h') diff --git a/include/strutils.h b/include/strutils.h index e24496d3c..31cf80603 100644 --- a/include/strutils.h +++ b/include/strutils.h @@ -3,6 +3,7 @@ #include #include +#include extern int strtosize(const char *str, uintmax_t *res); extern long strtol_or_err(const char *str, const char *errmesg); @@ -23,4 +24,7 @@ static inline void xstrncpy(char *dest, const char *src, size_t n) strncpy(dest, src, n-1); dest[n-1] = 0; } + +extern void strmode(mode_t mode, char *str); + #endif -- cgit v1.2.3-55-g7522