From f86a5ba510ef62ab46d14bd0761a1d88289a398d Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 19 Jul 2006 21:45:30 +0000 Subject: [PATCH] Remove unnecessary consts. --- debianutils/which.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ #include -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)); }