summaryrefslogtreecommitdiff
path: root/debianutils/which.c
diff options
context:
space:
mode:
authorRob Landley2006-07-19 21:45:30 +0000
committerRob Landley2006-07-19 21:45:30 +0000
commitf86a5ba510ef62ab46d14bd0761a1d88289a398d (patch)
tree9525c65c6d170cc073111b5179d4d6290801b32e /debianutils/which.c
parent53702e53ba7fed674a885f7ca17c14ca70adb0c0 (diff)
downloadbusybox-f86a5ba510ef62ab46d14bd0761a1d88289a398d.zip
busybox-f86a5ba510ef62ab46d14bd0761a1d88289a398d.tar.gz
Remove unnecessary consts.1_2_0
Diffstat (limited to 'debianutils/which.c')
-rw-r--r--debianutils/which.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/which.c b/debianutils/which.c
index 8dd20d0..b902b64 100644
--- a/debianutils/which.c
+++ b/debianutils/which.c
@@ -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(char *a, struct stat *b)
{
return (!access(a,X_OK) && !stat(a, b) && S_ISREG(b->st_mode));
}