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

Diff for /src/usr.bin/find/option.c between version 1.16 and 1.17

version 1.16, 2003/06/26 07:27:29 version 1.17, 2003/07/02 21:04:10
Line 49 
Line 49 
 #include "find.h"  #include "find.h"
 #include "extern.h"  #include "extern.h"
   
   int typecompare(const void *, const void *);
   
 /* NB: the following table must be sorted lexically. */  /* NB: the following table must be sorted lexically. */
 static OPTION options[] = {  static OPTION options[] = {
         { "!",          N_NOT,          c_not,          O_ZERO },          { "!",          N_NOT,          c_not,          O_ZERO },
Line 144 
Line 146 
 option(char *name)  option(char *name)
 {  {
         OPTION tmp;          OPTION tmp;
         int typecompare(const void *, const void *);  
   
         tmp.name = name;          tmp.name = name;
         return ((OPTION *)bsearch(&tmp, options,          return ((OPTION *)bsearch(&tmp, options,

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17