diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-07-19 21:45:30 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-07-19 21:45:30 +0000 |
commit | 2e622fbfe9ff6bf33d09b79df754b6b9c6cd1f7a (patch) | |
tree | 9525c65c6d170cc073111b5179d4d6290801b32e | |
parent | 087c0e689d2bf3853793490e392767a0fffa60bc (diff) | |
download | busybox-w32-2e622fbfe9ff6bf33d09b79df754b6b9c6cd1f7a.tar.gz busybox-w32-2e622fbfe9ff6bf33d09b79df754b6b9c6cd1f7a.tar.bz2 busybox-w32-2e622fbfe9ff6bf33d09b79df754b6b9c6cd1f7a.zip |
Remove unnecessary consts.
git-svn-id: svn://busybox.net/trunk/busybox@15729 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | debianutils/which.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/which.c b/debianutils/which.c index 8dd20d097..b902b64d8 100644 --- a/debianutils/which.c +++ b/debianutils/which.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <sys/stat.h> | 17 | #include <sys/stat.h> |
18 | 18 | ||
19 | 19 | ||
20 | static int is_executable_file(const char * const a, struct stat *b) | 20 | static int is_executable_file(char *a, struct stat *b) |
21 | { | 21 | { |
22 | return (!access(a,X_OK) && !stat(a, b) && S_ISREG(b->st_mode)); | 22 | return (!access(a,X_OK) && !stat(a, b) && S_ISREG(b->st_mode)); |
23 | } | 23 | } |