From df10b53c0caecd43a02b7f24515a9ff9edea7056 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Tue, 19 Apr 2016 19:49:15 -0700 Subject: 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. --- src/builtin_ulimit.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/builtin_ulimit.h (limited to 'src/builtin_ulimit.h') diff --git a/src/builtin_ulimit.h b/src/builtin_ulimit.h new file mode 100644 index 00000000..1e694e07 --- /dev/null +++ b/src/builtin_ulimit.h @@ -0,0 +1,11 @@ +// Prototypes for functions for executing builtin_ulimit functions. +#ifndef FISH_BUILTIN_ULIMIT_H +#define FISH_BUILTIN_ULIMIT_H + +#include +#include + +class parser_t; + +int builtin_ulimit(parser_t &parser, io_streams_t &streams, wchar_t **argv); +#endif -- cgit v1.2.3