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

Diff for /src/usr.bin/tmux/cmd-find-window.c between version 1.37 and 1.38

version 1.37, 2016/01/19 15:59:12 version 1.38, 2016/10/10 21:51:39
Line 33 
Line 33 
         "[#{window_width}x#{window_height}] "                   \          "[#{window_width}x#{window_height}] "                   \
         "(#{window_panes} panes) #{window_find_matches}"          "(#{window_panes} panes) #{window_find_matches}"
   
 enum cmd_retval  cmd_find_window_exec(struct cmd *, struct cmd_q *);  static enum cmd_retval   cmd_find_window_exec(struct cmd *, struct cmd_q *);
   
 void    cmd_find_window_callback(struct window_choose_data *);  static void     cmd_find_window_callback(struct window_choose_data *);
   
 /* Flags for determining matching behavior. */  /* Flags for determining matching behavior. */
 #define CMD_FIND_WINDOW_BY_TITLE   0x1  #define CMD_FIND_WINDOW_BY_TITLE   0x1
Line 68 
Line 68 
 };  };
 TAILQ_HEAD(cmd_find_window_list, cmd_find_window_data);  TAILQ_HEAD(cmd_find_window_list, cmd_find_window_data);
   
 u_int   cmd_find_window_match_flags(struct args *);  static u_int    cmd_find_window_match_flags(struct args *);
 void    cmd_find_window_match(struct cmd_find_window_list *, int,  static void     cmd_find_window_match(struct cmd_find_window_list *, int,
             struct winlink *, const char *, const char *);                      struct winlink *, const char *, const char *);
   
 u_int  static u_int
 cmd_find_window_match_flags(struct args *args)  cmd_find_window_match_flags(struct args *args)
 {  {
         u_int   match_flags = 0;          u_int   match_flags = 0;
Line 92 
Line 92 
         return (match_flags);          return (match_flags);
 }  }
   
 void  static void
 cmd_find_window_match(struct cmd_find_window_list *find_list,  cmd_find_window_match(struct cmd_find_window_list *find_list,
     int match_flags, struct winlink *wl, const char *str,      int match_flags, struct winlink *wl, const char *str,
     const char *searchstr)      const char *searchstr)
Line 138 
Line 138 
                 free(find_data);                  free(find_data);
 }  }
   
 enum cmd_retval  static enum cmd_retval
 cmd_find_window_exec(struct cmd *self, struct cmd_q *cmdq)  cmd_find_window_exec(struct cmd *self, struct cmd_q *cmdq)
 {  {
         struct args                     *args = self->args;          struct args                     *args = self->args;
Line 216 
Line 216 
         return (CMD_RETURN_NORMAL);          return (CMD_RETURN_NORMAL);
 }  }
   
 void  static void
 cmd_find_window_callback(struct window_choose_data *cdata)  cmd_find_window_callback(struct window_choose_data *cdata)
 {  {
         struct session          *s;          struct session          *s;

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38