=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-run-shell.c,v retrieving revision 1.37 retrieving revision 1.38 diff -c -r1.37 -r1.38 *** src/usr.bin/tmux/cmd-run-shell.c 2016/10/09 08:06:51 1.37 --- src/usr.bin/tmux/cmd-run-shell.c 2016/10/10 21:51:39 1.38 *************** *** 1,4 **** ! /* $OpenBSD: cmd-run-shell.c,v 1.37 2016/10/09 08:06:51 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha --- 1,4 ---- ! /* $OpenBSD: cmd-run-shell.c,v 1.38 2016/10/10 21:51:39 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha *************** *** 29,39 **** * Runs a command without a window. */ ! enum cmd_retval cmd_run_shell_exec(struct cmd *, struct cmd_q *); ! void cmd_run_shell_callback(struct job *); ! void cmd_run_shell_free(void *); ! void cmd_run_shell_print(struct job *, const char *); const struct cmd_entry cmd_run_shell_entry = { .name = "run-shell", --- 29,39 ---- * Runs a command without a window. */ ! static enum cmd_retval cmd_run_shell_exec(struct cmd *, struct cmd_q *); ! static void cmd_run_shell_callback(struct job *); ! static void cmd_run_shell_free(void *); ! static void cmd_run_shell_print(struct job *, const char *); const struct cmd_entry cmd_run_shell_entry = { .name = "run-shell", *************** *** 55,61 **** int wp_id; }; ! void cmd_run_shell_print(struct job *job, const char *msg) { struct cmd_run_shell_data *cdata = job->data; --- 55,61 ---- int wp_id; }; ! static void cmd_run_shell_print(struct job *job, const char *msg) { struct cmd_run_shell_data *cdata = job->data; *************** *** 74,80 **** window_copy_add(wp, "%s", msg); } ! enum cmd_retval cmd_run_shell_exec(struct cmd *self, struct cmd_q *cmdq) { struct args *args = self->args; --- 74,80 ---- window_copy_add(wp, "%s", msg); } ! static enum cmd_retval cmd_run_shell_exec(struct cmd *self, struct cmd_q *cmdq) { struct args *args = self->args; *************** *** 113,119 **** return (CMD_RETURN_WAIT); } ! void cmd_run_shell_callback(struct job *job) { struct cmd_run_shell_data *cdata = job->data; --- 113,119 ---- return (CMD_RETURN_WAIT); } ! static void cmd_run_shell_callback(struct job *job) { struct cmd_run_shell_data *cdata = job->data; *************** *** 161,167 **** free(msg); } ! void cmd_run_shell_free(void *data) { struct cmd_run_shell_data *cdata = data; --- 161,167 ---- free(msg); } ! static void cmd_run_shell_free(void *data) { struct cmd_run_shell_data *cdata = data;