diff options
| author | Toby Goodwin <toby@paganbooks.eu> | 2018-04-28 08:21:19 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paganbooks.eu> | 2018-04-28 08:21:19 +0100 |
| commit | 6fe8c0e92443ce3898fa8c3ebd73f6976fe98eec (patch) | |
| tree | 453b2ee53f0d12caa4966dcb0fc7ac7770c49f06 /rc.h | |
| parent | cb99a1b11a2f0d39cd92a27351a4920422bcd7a1 (diff) | |
check access of external commands when completing
Diffstat (limited to 'rc.h')
| -rw-r--r-- | rc.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -180,7 +180,6 @@ extern int lineno; /* builtins.c */ extern builtin_t *isbuiltin(char *); extern void b_exec(char **), funcall(char **), b_dot(char **), b_builtin(char **); -extern char *which(char *, bool); extern char *compl_builtin(const char *, int); /* except.c */ @@ -398,3 +397,7 @@ extern bool forked; /* walk.c */ extern bool walk(Node *, bool); extern bool cond; + +/* which.c */ +extern bool rc_access(char *, bool); +extern char *which(char *, bool); |