From: nicm Date: Sat, 22 Apr 2017 12:08:41 +0000 (+0000) Subject: Do not need getopt.h. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6f2fd1e4eb1d50d7733fbbb5d965e259c873d7a8;p=openbsd Do not need getopt.h. --- 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 @@ -18,7 +18,6 @@ #include -#include #include #include #include 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 @@ -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 @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include