diff options
| author | Devin J. Pohly <djpohly@gmail.com> | 2018-02-24 16:45:42 -0600 |
|---|---|---|
| committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:56:26 -0600 |
| commit | 403c57ebb5b3745ff93e49b87e526c49dc59a5b9 (patch) | |
| tree | 9eccc6e9cc3bea0917420250c767fb318a0408e6 | |
| parent | e0215d53770a9b6bc6e5d7b9a603ecd34dbd7100 (diff) | |
| download | st-403c57ebb5b3745ff93e49b87e526c49dc59a5b9.tar.gz st-403c57ebb5b3745ff93e49b87e526c49dc59a5b9.zip | |
Clean up #includes
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
| -rw-r--r-- | st.c | 7 | ||||
| -rw-r--r-- | st.h | 3 | ||||
| -rw-r--r-- | x.c | 3 |
3 files changed, 4 insertions, 9 deletions
| @@ -3,24 +3,17 @@ | |||
| 3 | #include <errno.h> | 3 | #include <errno.h> |
| 4 | #include <fcntl.h> | 4 | #include <fcntl.h> |
| 5 | #include <limits.h> | 5 | #include <limits.h> |
| 6 | #include <locale.h> | ||
| 7 | #include <pwd.h> | 6 | #include <pwd.h> |
| 8 | #include <stdarg.h> | 7 | #include <stdarg.h> |
| 9 | #include <stdio.h> | 8 | #include <stdio.h> |
| 10 | #include <stdlib.h> | 9 | #include <stdlib.h> |
| 11 | #include <string.h> | 10 | #include <string.h> |
| 12 | #include <signal.h> | 11 | #include <signal.h> |
| 13 | #include <stdint.h> | ||
| 14 | #include <sys/ioctl.h> | 12 | #include <sys/ioctl.h> |
| 15 | #include <sys/select.h> | 13 | #include <sys/select.h> |
| 16 | #include <sys/stat.h> | ||
| 17 | #include <sys/time.h> | ||
| 18 | #include <sys/types.h> | 14 | #include <sys/types.h> |
| 19 | #include <sys/wait.h> | 15 | #include <sys/wait.h> |
| 20 | #include <termios.h> | ||
| 21 | #include <time.h> | ||
| 22 | #include <unistd.h> | 16 | #include <unistd.h> |
| 23 | #include <libgen.h> | ||
| 24 | #include <wchar.h> | 17 | #include <wchar.h> |
| 25 | 18 | ||
| 26 | #include "st.h" | 19 | #include "st.h" |
| @@ -1,5 +1,8 @@ | |||
| 1 | /* See LICENSE for license details. */ | 1 | /* See LICENSE for license details. */ |
| 2 | 2 | ||
| 3 | #include <stdint.h> | ||
| 4 | #include <sys/types.h> | ||
| 5 | |||
| 3 | /* macros */ | 6 | /* macros */ |
| 4 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) | 7 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) |
| 5 | #define MAX(a, b) ((a) < (b) ? (b) : (a)) | 8 | #define MAX(a, b) ((a) < (b) ? (b) : (a)) |
| @@ -1,15 +1,14 @@ | |||
| 1 | /* See LICENSE for license details. */ | 1 | /* See LICENSE for license details. */ |
| 2 | #include <errno.h> | 2 | #include <errno.h> |
| 3 | #include <limits.h> | ||
| 3 | #include <locale.h> | 4 | #include <locale.h> |
| 4 | #include <signal.h> | 5 | #include <signal.h> |
| 5 | #include <stdint.h> | ||
| 6 | #include <sys/select.h> | 6 | #include <sys/select.h> |
| 7 | #include <time.h> | 7 | #include <time.h> |
| 8 | #include <unistd.h> | 8 | #include <unistd.h> |
| 9 | #include <libgen.h> | 9 | #include <libgen.h> |
| 10 | #include <X11/Xatom.h> | 10 | #include <X11/Xatom.h> |
| 11 | #include <X11/Xlib.h> | 11 | #include <X11/Xlib.h> |
| 12 | #include <X11/Xutil.h> | ||
| 13 | #include <X11/cursorfont.h> | 12 | #include <X11/cursorfont.h> |
| 14 | #include <X11/keysym.h> | 13 | #include <X11/keysym.h> |
| 15 | #include <X11/Xft/Xft.h> | 14 | #include <X11/Xft/Xft.h> |
