summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cfg.c1
-rw-r--r--client.c2
-rw-r--r--cmd-lock-server.c4
-rw-r--r--cmd-new-session.c1
-rw-r--r--options-table.c4
-rw-r--r--window.c4
6 files changed, 2 insertions, 14 deletions
diff --git a/cfg.c b/cfg.c
index 35192dc0..5d98dbe4 100644
--- a/cfg.c
+++ b/cfg.c
@@ -17,7 +17,6 @@
*/
#include <sys/types.h>
-#include <sys/stat.h>
#include <ctype.h>
#include <errno.h>
diff --git a/client.c b/client.c
index 4cf73fb9..70c1a007 100644
--- a/client.c
+++ b/client.c
@@ -25,8 +25,6 @@
#include <errno.h>
#include <event.h>
-#include <fcntl.h>
-#include <pwd.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/cmd-lock-server.c b/cmd-lock-server.c
index 97c86c1e..757c2e3f 100644
--- a/cmd-lock-server.c
+++ b/cmd-lock-server.c
@@ -18,10 +18,6 @@
#include <sys/types.h>
-#include <pwd.h>
-#include <string.h>
-#include <unistd.h>
-
#include "tmux.h"
/*
diff --git a/cmd-new-session.c b/cmd-new-session.c
index db8416e0..22c3c5d6 100644
--- a/cmd-new-session.c
+++ b/cmd-new-session.c
@@ -20,7 +20,6 @@
#include <errno.h>
#include <fcntl.h>
-#include <pwd.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
diff --git a/options-table.c b/options-table.c
index 1010e84f..abeae7af 100644
--- a/options-table.c
+++ b/options-table.c
@@ -28,8 +28,8 @@
* 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
* 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
- * the user sets an option or its value needs to be shown.
+ * string types). These tables are then used to look up the real type when the
+ * user sets an option or its value needs to be shown.
*/
/* Choice option type lists. */
diff --git a/window.c b/window.c
index faea6049..575ac909 100644
--- a/window.c
+++ b/window.c
@@ -17,14 +17,10 @@
*/
#include <sys/types.h>
-#include <sys/ioctl.h>
#include <errno.h>
#include <fcntl.h>
#include <fnmatch.h>
-#include <paths.h>
-#include <pwd.h>
-#include <signal.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>