diff options
author | 2017-04-22 12:08:41 +0000 | |
---|---|---|
committer | 2017-04-22 12:08:41 +0000 | |
commit | 6f2fd1e4eb1d50d7733fbbb5d965e259c873d7a8 (patch) | |
tree | 78774b4bafa5f41db651c2beb56c9c29247583f5 | |
parent | Xr mutex(9) and rwlock(9) (diff) | |
download | wireguard-openbsd-6f2fd1e4eb1d50d7733fbbb5d965e259c873d7a8.tar.xz wireguard-openbsd-6f2fd1e4eb1d50d7733fbbb5d965e259c873d7a8.zip |
Do not need getopt.h.
-rw-r--r-- | usr.bin/tmux/arguments.c | 3 | ||||
-rw-r--r-- | usr.bin/tmux/cmd-find.c | 4 | ||||
-rw-r--r-- | usr.bin/tmux/tmux.c | 3 |
3 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/tmux/arguments.c b/usr.bin/tmux/arguments.c index 91fa6433b55..f17f15accdf 100644 --- a/usr.bin/tmux/arguments.c +++ b/usr.bin/tmux/arguments.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arguments.c,v 1.17 2017/01/18 10:08:05 nicm Exp $ */ +/* $OpenBSD: arguments.c,v 1.18 2017/04/22 12:08:41 nicm Exp $ */ /* * Copyright (c) 2010 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -18,7 +18,6 @@ #include <sys/types.h> -#include <getopt.h> #include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/tmux/cmd-find.c b/usr.bin/tmux/cmd-find.c index 533ad7b9846..5407cce75e9 100644 --- a/usr.bin/tmux/cmd-find.c +++ b/usr.bin/tmux/cmd-find.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-find.c,v 1.51 2017/04/22 10:22:39 nicm Exp $ */ +/* $OpenBSD: cmd-find.c,v 1.52 2017/04/22 12:08:41 nicm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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 */ diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index 34edbca400c..09a649cf181 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.181 2017/04/20 17:49:26 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.182 2017/04/22 12:08:41 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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> |