busybox/debianutils/which.c:20: warning: duplicate `const'
Thomas Fröhlich
bornland at gmx.at
Mon Jul 17 14:01:48 UTC 2006
hi guys!
with arm-linux-uclibc-gcc (GCC) 3.3.3 I have troubles...
--- debianutils/which.c (revision 15711)
+++ debianutils/which.c (working copy)
@@ -17,7 +17,7 @@
#include <sys/stat.h>
-static int is_executable_file(const char const * a, struct stat *b)
+static int is_executable_file(const char * a, struct stat *b)
{
return (!access(a,X_OK) && !stat(a, b) && S_ISREG(b->st_mode));
}
this works for me :)
regards
Thomas
More information about the busybox
mailing list