Do not need getopt.h.

This commit is contained in:
nicm 2017-04-22 12:08:41 +00:00
parent 55cd4c7bc7
commit ae1a6c2fc5
3 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,6 @@
#include <sys/types.h>
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

View File

@ -891,7 +891,7 @@ cmd_find_from_client(struct cmd_find_state *fs, struct client *c)
}
if (wl != NULL) {
fs->s = s;
fs->wl = s->curw; /* use active session */
fs->wl = s->curw; /* use current session */
fs->w = fs->wl->window;
fs->wp = fs->w->active; /* use active pane */

1
tmux.c
View File

@ -23,7 +23,6 @@
#include <errno.h>
#include <event.h>
#include <fcntl.h>
#include <getopt.h>
#include <langinfo.h>
#include <locale.h>
#include <paths.h>