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

Diff for /src/usr.bin/mg/tty.c between version 1.30 and 1.31

version 1.30, 2008/09/15 16:11:35 version 1.31, 2014/11/16 00:47:35
Line 35 
Line 35 
   
 #include <term.h>  #include <term.h>
   
 static int       charcost(char *);  static int       charcost(const char *);
   
 static int       cci;  static int       cci;
 static int       insdel;        /* Do we have both insert & delete line? */  static int       insdel;        /* Do we have both insert & delete line? */
Line 438 
Line 438 
   
 /* calculate the cost of doing string s */  /* calculate the cost of doing string s */
 static int  static int
 charcost(char *s)  charcost(const char *s)
 {  {
         cci = 0;          cci = 0;
   

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31