diff options
author | 2015-07-25 23:14:25 +0800 | |
---|---|---|
committer | 2015-07-25 23:53:32 +0800 | |
commit | 78162a2a1343a7caff3d43f457daa87475e6b926 (patch) | |
tree | 5202c4b2c21b80822bf07282df2e25ad336812f9 /input.cpp | |
parent | 30ea4fc416c533e9ca3c1fb464e08c004946de00 (diff) |
Initial pass with Include What You Use
Diffstat (limited to 'input.cpp')
-rw-r--r-- | input.cpp | 28 |
1 files changed, 4 insertions, 24 deletions
@@ -6,19 +6,8 @@ #include "config.h" -#include <stdlib.h> -#include <stdio.h> #include <assert.h> -#include <string.h> #include <errno.h> -#include <termios.h> -#include <sys/types.h> -#include <sys/stat.h> - -#ifdef HAVE_SYS_IOCTL_H -#include <sys/ioctl.h> -#endif - #include <unistd.h> #include <wchar.h> @@ -36,30 +25,21 @@ #include <ncurses/term.h> #endif -#include <signal.h> -#include <dirent.h> #include <wctype.h> - - -#include "fallback.h" -#include "util.h" - -#include "wutil.h" +#include "fallback.h" // IWYU pragma: keep +#include "wutil.h" // IWYU pragma: keep - needed for wgettext #include "reader.h" #include "proc.h" #include "common.h" -#include "sanity.h" #include "input_common.h" #include "input.h" #include "parser.h" #include "env.h" -#include "expand.h" #include "event.h" -#include "signal.h" - +#include "signal.h" // IWYU pragma: keep - needed for CHECK_BLOCK +#include "io.h" #include "output.h" -#include "intern.h" #include <vector> #include <algorithm> |