diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-04-19 19:49:15 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-04-26 21:58:59 -0700 |
commit | df10b53c0caecd43a02b7f24515a9ff9edea7056 (patch) | |
tree | c4330d36de296ee75a608a6665091134be780167 /src/builtin_test.h | |
parent | c2f9d60eb1f04a3aa0b01d785c1e133cac8ecf1d (diff) |
restyle builtin modules to match project style
Now that the IWYU cleanup has been merged compile all, not just a couple, of
the builtin modules independent of builtin.cpp. That is, no longer `#include
builtin_NAME.cpp` in builtin.cpp. This is more consistent, more in line with
what developers expect, and is likely to reduce mistakes.
Reduces lint errors from 384 to 336 (-13%). Line count from 6307 to 4988 (-21%).
Another step in resolving issue #2902.
Diffstat (limited to 'src/builtin_test.h')
-rw-r--r-- | src/builtin_test.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/builtin_test.h b/src/builtin_test.h new file mode 100644 index 00000000..b350cc63 --- /dev/null +++ b/src/builtin_test.h @@ -0,0 +1,9 @@ +// Prototypes for functions for executing builtin_test functions. +#ifndef FISH_BUILTIN_TEST_H +#define FISH_BUILTIN_TEST_H + +class parser_t; +struct io_streams_t; + +int builtin_test(parser_t &parser, io_streams_t &streams, wchar_t **argv); +#endif |