Remove unnecessary consts.
This commit is contained in:
parent
53702e53ba
commit
f86a5ba510
@ -17,7 +17,7 @@
|
|||||||
#include <sys/stat.h>
|
#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));
|
return (!access(a,X_OK) && !stat(a, b) && S_ISREG(b->st_mode));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user