summaryrefslogtreecommitdiff
path: root/rc.h
diff options
context:
space:
mode:
authorToby Goodwin <toby@paganbooks.eu>2018-04-28 08:21:19 +0100
committerToby Goodwin <toby@paganbooks.eu>2018-04-28 08:21:19 +0100
commit6fe8c0e92443ce3898fa8c3ebd73f6976fe98eec (patch)
tree453b2ee53f0d12caa4966dcb0fc7ac7770c49f06 /rc.h
parentcb99a1b11a2f0d39cd92a27351a4920422bcd7a1 (diff)
check access of external commands when completing
Diffstat (limited to 'rc.h')
-rw-r--r--rc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.h b/rc.h
index 33d1460..3009803 100644
--- a/rc.h
+++ b/rc.h
@@ -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);