[BACK]Return to cmd-bind-key.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-bind-key.c between version 1.26 and 1.27

version 1.26, 2016/09/12 15:40:58 version 1.27, 2016/10/10 21:51:39
Line 27 
Line 27 
  * Bind a key to a command, this recurses through cmd_*.   * Bind a key to a command, this recurses through cmd_*.
  */   */
   
 enum cmd_retval  cmd_bind_key_exec(struct cmd *, struct cmd_q *);  static enum cmd_retval   cmd_bind_key_exec(struct cmd *, struct cmd_q *);
   
 enum cmd_retval  cmd_bind_key_mode_table(struct cmd *, struct cmd_q *,  static enum cmd_retval   cmd_bind_key_mode_table(struct cmd *, struct cmd_q *,
                      key_code);                               key_code);
   
 const struct cmd_entry cmd_bind_key_entry = {  const struct cmd_entry cmd_bind_key_entry = {
         .name = "bind-key",          .name = "bind-key",
Line 44 
Line 44 
         .exec = cmd_bind_key_exec          .exec = cmd_bind_key_exec
 };  };
   
 enum cmd_retval  static enum cmd_retval
 cmd_bind_key_exec(struct cmd *self, struct cmd_q *cmdq)  cmd_bind_key_exec(struct cmd *self, struct cmd_q *cmdq)
 {  {
         struct args     *args = self->args;          struct args     *args = self->args;
Line 93 
Line 93 
         return (CMD_RETURN_NORMAL);          return (CMD_RETURN_NORMAL);
 }  }
   
 enum cmd_retval  static enum cmd_retval
 cmd_bind_key_mode_table(struct cmd *self, struct cmd_q *cmdq, key_code key)  cmd_bind_key_mode_table(struct cmd *self, struct cmd_q *cmdq, key_code key)
 {  {
         struct args                     *args = self->args;          struct args                     *args = self->args;

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27