diff options
author | nicm <nicm> | 2014-04-17 11:38:35 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-04-17 11:38:35 +0000 |
commit | bce952777a491c5099693e2c256a14e51aecfaa6 (patch) | |
tree | 65cb747d9eb539e2f59b175b93922c0bfaff0b85 | |
parent | 2e98c9057de6c5700ca01bd58932373b103ef976 (diff) | |
download | rtmux-bce952777a491c5099693e2c256a14e51aecfaa6.tar.gz rtmux-bce952777a491c5099693e2c256a14e51aecfaa6.tar.bz2 rtmux-bce952777a491c5099693e2c256a14e51aecfaa6.zip |
Remove some unnecessary includes and fix a typo.
-rw-r--r-- | cfg.c | 1 | ||||
-rw-r--r-- | client.c | 2 | ||||
-rw-r--r-- | cmd-lock-server.c | 4 | ||||
-rw-r--r-- | cmd-new-session.c | 1 | ||||
-rw-r--r-- | options-table.c | 4 | ||||
-rw-r--r-- | window.c | 4 |
6 files changed, 2 insertions, 14 deletions
@@ -17,7 +17,6 @@ */ #include <sys/types.h> -#include <sys/stat.h> #include <ctype.h> #include <errno.h> @@ -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. */ @@ -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> |