summaryrefslogtreecommitdiffhomepage
path: root/include/libbb.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-22 17:48:08 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-22 17:48:08 +0000
commit835f575b61614b19e253711d746898d0a1935309 (patch)
tree83402a2c66b72e62e38c650f29d4b2d6399c3de2 /include/libbb.h
parent620e57b421e9f575792786eb94a1e67005b4c09c (diff)
- the archivers expect mode to be a mode_t, so do not trip signed/unsigned conversion purposefully
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index cd192b9eb..57531e491 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -228,7 +228,7 @@ extern void trim(char *s);
extern char *skip_whitespace(const char *);
extern char *skip_non_whitespace(const char *);
-extern const char *bb_mode_string(int mode);
+extern const char *bb_mode_string(mode_t mode);
extern int is_directory(const char *name, int followLinks, struct stat *statBuf);
extern int remove_file(const char *path, int flags);
extern int copy_file(const char *source, const char *dest, int flags);