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

Diff for /src/usr.bin/tmux/cmd-show-environment.c between version 1.19 and 1.20

version 1.19, 2016/03/03 14:15:22 version 1.20, 2016/10/10 21:51:39
Line 27 
Line 27 
  * Show environment.   * Show environment.
  */   */
   
 enum cmd_retval cmd_show_environment_exec(struct cmd *, struct cmd_q *);  static enum cmd_retval  cmd_show_environment_exec(struct cmd *, struct cmd_q *);
   
 char    *cmd_show_environment_escape(struct environ_entry *);  static char     *cmd_show_environment_escape(struct environ_entry *);
 void     cmd_show_environment_print(struct cmd *, struct cmd_q *,  static void      cmd_show_environment_print(struct cmd *, struct cmd_q *,
              struct environ_entry *);                       struct environ_entry *);
   
 const struct cmd_entry cmd_show_environment_entry = {  const struct cmd_entry cmd_show_environment_entry = {
         .name = "show-environment",          .name = "show-environment",
Line 46 
Line 46 
         .exec = cmd_show_environment_exec          .exec = cmd_show_environment_exec
 };  };
   
 char *  static char *
 cmd_show_environment_escape(struct environ_entry *envent)  cmd_show_environment_escape(struct environ_entry *envent)
 {  {
         const char      *value = envent->value;          const char      *value = envent->value;
Line 64 
Line 64 
         return (ret);          return (ret);
 }  }
   
 void  static void
 cmd_show_environment_print(struct cmd *self, struct cmd_q *cmdq,  cmd_show_environment_print(struct cmd *self, struct cmd_q *cmdq,
     struct environ_entry *envent)      struct environ_entry *envent)
 {  {
Line 87 
Line 87 
                 cmdq_print(cmdq, "unset %s;", envent->name);                  cmdq_print(cmdq, "unset %s;", envent->name);
 }  }
   
 enum cmd_retval  static enum cmd_retval
 cmd_show_environment_exec(struct cmd *self, struct cmd_q *cmdq)  cmd_show_environment_exec(struct cmd *self, struct cmd_q *cmdq)
 {  {
         struct args             *args = self->args;          struct args             *args = self->args;

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20