diff options
| author | tgoodwin <tgoodwin> | 1998-02-17 15:46:42 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:04 +0100 |
| commit | 67fd3c37e6908795bd86220435a37637c9e16d63 (patch) | |
| tree | 7237219ed66a726f951d0e7b5ddf0bf20c6b38b7 /rc.h | |
| parent | 063d3cc3f65f8f5b8dd636b7b8bd07e132e5aa28 (diff) | |
first stab at getting execve.c only compiled when needed
Diffstat (limited to 'rc.h')
| -rw-r--r-- | rc.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -220,8 +220,12 @@ extern void sigint(int); extern void exec(List *, bool); extern void doredirs(void); +#if HASH_BANG +#define rc_execve execve +#else /* execve.c */ extern int my_execve(char *, char **, char **); +#endif /* footobar.c */ extern char **list2array(List *, bool); |