[BACK]Return to tty-term.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tty-term.c between version 1.45 and 1.46

version 1.45, 2016/01/29 11:13:56 version 1.46, 2016/10/10 21:29:23
Line 27 
Line 27 
   
 #include "tmux.h"  #include "tmux.h"
   
 void     tty_term_override(struct tty_term *, const char *);  static void      tty_term_override(struct tty_term *, const char *);
 char    *tty_term_strip(const char *);  static char     *tty_term_strip(const char *);
   
 struct tty_terms tty_terms = LIST_HEAD_INITIALIZER(tty_terms);  struct tty_terms tty_terms = LIST_HEAD_INITIALIZER(tty_terms);
   
Line 53 
Line 53 
         const char             *name;          const char             *name;
 };  };
   
 const struct tty_term_code_entry tty_term_codes[] = {  static const struct tty_term_code_entry tty_term_codes[] = {
         [TTYC_ACSC] = { TTYCODE_STRING, "acsc" },          [TTYC_ACSC] = { TTYCODE_STRING, "acsc" },
         [TTYC_AX] = { TTYCODE_FLAG, "AX" },          [TTYC_AX] = { TTYCODE_FLAG, "AX" },
         [TTYC_BCE] = { TTYCODE_FLAG, "bce" },          [TTYC_BCE] = { TTYCODE_FLAG, "bce" },
Line 264 
Line 264 
         return (nitems(tty_term_codes));          return (nitems(tty_term_codes));
 }  }
   
 char *  static char *
 tty_term_strip(const char *s)  tty_term_strip(const char *s)
 {  {
         const char     *ptr;          const char     *ptr;
Line 293 
Line 293 
         return (xstrdup(buf));          return (xstrdup(buf));
 }  }
   
 void  static void
 tty_term_override(struct tty_term *term, const char *overrides)  tty_term_override(struct tty_term *term, const char *overrides)
 {  {
         const struct tty_term_code_entry        *ent;          const struct tty_term_code_entry        *ent;

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46