The branch, hooks has been updated
via c47536f910e5d67b38279eb6532a9a6c5ebda591 (commit)
from 52af8e9ff6607abbf6281a836d15bf5a83fad013 (commit)
- Log -----------------------------------------------------------------
commit c47536f910e5d67b38279eb6532a9a6c5ebda591
Author: Thomas Adam <[email protected]>
Commit: Thomas Adam <[email protected]>
Move cmd_find_* protoypes to cmd.c
These are no longer used outside of cmd.c, so make them local to it.
---
cmd.c | 9 +++++++++
tmux.h | 8 --------
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/cmd.c b/cmd.c
index 3ff7298..d41cf8d 100644
--- a/cmd.c
+++ b/cmd.c
@@ -27,6 +27,15 @@
#include "tmux.h"
+struct client *cmd_find_client(struct cmd_q *, const char *, int);
+struct session *cmd_find_session(struct cmd_q *, const char *, int);
+struct winlink *cmd_find_window(struct cmd_q *, const char *,
+ struct session **);
+int cmd_find_index(struct cmd_q *, const char *,
+ struct session **);
+struct winlink *cmd_find_pane(struct cmd_q *, const char *, struct session **,
+ struct window_pane **);
+
const struct cmd_entry *cmd_table[] = {
&cmd_attach_session_entry,
&cmd_bind_key_entry,
diff --git a/tmux.h b/tmux.h
index 1707e1e..fedb5da 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1787,14 +1787,6 @@ int cmd_prepare_state(struct cmd *, struct
cmd_q *);
size_t cmd_print(struct cmd *, char *, size_t);
struct session *cmd_current_session(struct cmd_q *, int);
struct client *cmd_current_client(struct cmd_q *);
-struct client *cmd_find_client(struct cmd_q *, const char *, int);
-struct session *cmd_find_session(struct cmd_q *, const char *, int);
-struct winlink *cmd_find_window(struct cmd_q *, const char *,
- struct session **);
-int cmd_find_index(struct cmd_q *, const char *,
- struct session **);
-struct winlink *cmd_find_pane(struct cmd_q *, const char *, struct session **,
- struct window_pane **);
char *cmd_template_replace(const char *, const char *, int);
struct window *cmd_lookup_windowid(const char *);
struct window_pane *cmd_lookup_paneid(const char *);
-----------------------------------------------------------------------
Summary of changes:
cmd.c | 9 +++++++++
tmux.h | 8 --------
2 files changed, 9 insertions(+), 8 deletions(-)
hooks/post-receive
--
tmux
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs