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

Diff for /src/usr.bin/tr/str.c between version 1.6 and 1.7

version 1.6, 2001/11/19 19:02:17 version 1.7, 2002/02/16 21:27:55
Line 54 
Line 54 
   
 #include "extern.h"  #include "extern.h"
   
 static int      backslash __P((STR *));  static int      backslash(STR *);
 static int      bracket __P((STR *));  static int      bracket(STR *);
 static int      c_class __P((const void *, const void *));  static int      c_class(const void *, const void *);
 static void     genclass __P((STR *));  static void     genclass(STR *);
 static void     genequiv __P((STR *));  static void     genequiv(STR *);
 static int      genrange __P((STR *));  static int      genrange(STR *);
 static void     genseq __P((STR *));  static void     genseq(STR *);
   
 int  int
 next(s)  next(s)
Line 155 
Line 155 
   
 typedef struct {  typedef struct {
         char *name;          char *name;
         int (*func) __P((int));          int (*func)(int);
         int *set;          int *set;
 } CLASS;  } CLASS;
   
Line 178 
Line 178 
 genclass(s)  genclass(s)
         STR *s;          STR *s;
 {  {
         int cnt, (*func) __P((int));          int cnt, (*func)(int);
         CLASS *cp, tmp;          CLASS *cp, tmp;
         int *p;          int *p;
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7