Rev 3346 | Rev 3366 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3346 | Rev 3364 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | #define HELP_IS_RUBBISH -1 |
47 | #define HELP_IS_RUBBISH -1 |
48 | 48 | ||
49 | volatile int mod_switch = -1; |
49 | volatile int mod_switch = -1; |
50 | 50 | ||
51 | /* Just use a pointer here, no need for mod_switch */ |
51 | /* Just use a pointer here, no need for mod_switch */ |
52 | int is_mod_or_builtin(char *cmd) |
52 | static int is_mod_or_builtin(char *cmd) |
53 | { |
53 | { |
54 | int rc = HELP_IS_RUBBISH; |
54 | int rc = HELP_IS_RUBBISH; |
55 | 55 | ||
56 | rc = is_builtin(cmd); |
56 | rc = is_builtin(cmd); |
57 | if (rc > -1) { |
57 | if (rc > -1) { |