diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-02 22:09:49 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-02 22:09:49 +0000 |
commit | 8731755ab4dc79f95f0a5ed8dfc8ae3bb9536256 (patch) | |
tree | b561c06699cfbdb0d771f5b7eda29587662f13c8 /cmd-list-windows.c | |
parent | 95cc21c25180d0f2e7b488983e3078834343d162 (diff) | |
download | rtmux-8731755ab4dc79f95f0a5ed8dfc8ae3bb9536256.tar.gz rtmux-8731755ab4dc79f95f0a5ed8dfc8ae3bb9536256.tar.bz2 rtmux-8731755ab4dc79f95f0a5ed8dfc8ae3bb9536256.zip |
Add a windowonly generic command and use it where appropriate. Also trim includes and unused.
Diffstat (limited to 'cmd-list-windows.c')
-rw-r--r-- | cmd-list-windows.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd-list-windows.c b/cmd-list-windows.c index 55d5a92f..7ac60e5e 100644 --- a/cmd-list-windows.c +++ b/cmd-list-windows.c @@ -1,4 +1,4 @@ -/* $Id: cmd-list-windows.c,v 1.16 2008-06-02 18:08:16 nicm Exp $ */ +/* $Id: cmd-list-windows.c,v 1.17 2008-06-02 22:09:49 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -18,7 +18,6 @@ #include <sys/types.h> -#include <getopt.h> #include <unistd.h> #include "tmux.h" @@ -41,7 +40,7 @@ const struct cmd_entry cmd_list_windows_entry = { }; void -cmd_list_windows_exec(unused void *ptr, struct cmd_ctx *ctx) +cmd_list_windows_exec(void *ptr, struct cmd_ctx *ctx) { struct session *s; struct winlink *wl; |