aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/builtin_ulimit.h
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-04-19 19:49:15 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-04-26 21:58:59 -0700
commitdf10b53c0caecd43a02b7f24515a9ff9edea7056 (patch)
treec4330d36de296ee75a608a6665091134be780167 /src/builtin_ulimit.h
parentc2f9d60eb1f04a3aa0b01d785c1e133cac8ecf1d (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_ulimit.h')
-rw-r--r--src/builtin_ulimit.h11
1 files changed, 11 insertions, 0 deletions
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 <wchar.h>
+#include <cstring>
+
+class parser_t;
+
+int builtin_ulimit(parser_t &parser, io_streams_t &streams, wchar_t **argv);
+#endif