Remove some unnecessary includes and fix a typo.

pull/1/head
nicm 2014-04-17 11:38:35 +00:00
parent 2e98c9057d
commit bce952777a
6 changed files with 2 additions and 14 deletions

1
cfg.c
View File

@ -17,7 +17,6 @@
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>

View File

@ -25,8 +25,6 @@
#include <errno.h> #include <errno.h>
#include <event.h> #include <event.h>
#include <fcntl.h>
#include <pwd.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>

View File

@ -18,10 +18,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <pwd.h>
#include <string.h>
#include <unistd.h>
#include "tmux.h" #include "tmux.h"
/* /*

View File

@ -20,7 +20,6 @@
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <pwd.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <termios.h> #include <termios.h>

View File

@ -28,8 +28,8 @@
* options. These tables are the master copy of the options with their real * options. These tables are the master copy of the options with their real
* (user-visible) types, range limits and default values. At start these are * (user-visible) types, range limits and default values. At start these are
* copied into the runtime global options trees (which only has number and * copied into the runtime global options trees (which only has number and
* string types). These tables are then used to loop up the real type when * string types). These tables are then used to look up the real type when the
* the user sets an option or its value needs to be shown. * user sets an option or its value needs to be shown.
*/ */
/* Choice option type lists. */ /* Choice option type lists. */

View File

@ -17,14 +17,10 @@
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <sys/ioctl.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <fnmatch.h> #include <fnmatch.h>
#include <paths.h>
#include <pwd.h>
#include <signal.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>