[git commit] do not include <sys/stat.h> just before "libbb.h", it's there already
Denys Vlasenko
vda.linux at googlemail.com
Thu Oct 5 12:41:36 UTC 2017
commit: https://git.busybox.net/busybox/commit/?id=416899fca6c8b7a09ec301e1a961459bb3b6c139
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
libbb/isdirectory.c | 1 -
libbb/mode_string.c | 6 ------
2 files changed, 7 deletions(-)
diff --git a/libbb/isdirectory.c b/libbb/isdirectory.c
index 462aa00..6225a34 100644
--- a/libbb/isdirectory.c
+++ b/libbb/isdirectory.c
@@ -7,7 +7,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
-#include <sys/stat.h>
#include "libbb.h"
/*
diff --git a/libbb/mode_string.c b/libbb/mode_string.c
index 280e6d2..5ffd568 100644
--- a/libbb/mode_string.c
+++ b/libbb/mode_string.c
@@ -6,13 +6,7 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
-
-/* Aug 13, 2003
- * Fix a bug reported by junkio at cox.net involving the mode_chars index.
- */
#include <assert.h>
-#include <sys/stat.h>
-
#include "libbb.h"
#if ( S_ISUID != 04000 ) || ( S_ISGID != 02000 ) || ( S_ISVTX != 01000 ) \
More information about the busybox-cvs
mailing list