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

Diff for /src/usr.bin/grep/grep.c between version 1.45 and 1.46

version 1.45, 2012/12/29 01:32:44 version 1.46, 2014/11/26 17:26:40
Line 119 
Line 119 
 }  }
   
 #ifdef NOZ  #ifdef NOZ
 static char *optstr = "0123456789A:B:CEFGHILRUVabce:f:hilnoqrsuvwxy";  static const char optstr[] = "0123456789A:B:CEFGHILRUVabce:f:hilnoqrsuvwxy";
 #else  #else
 static char *optstr = "0123456789A:B:CEFGHILRUVZabce:f:hilnoqrsuvwxy";  static const char optstr[] = "0123456789A:B:CEFGHILRUVZabce:f:hilnoqrsuvwxy";
 #endif  #endif
   
 struct option long_options[] =  static const struct option long_options[] =
 {  {
         {"binary-files",        required_argument,      NULL, BIN_OPT},          {"binary-files",        required_argument,      NULL, BIN_OPT},
         {"help",                no_argument,            NULL, HELP_OPT},          {"help",                no_argument,            NULL, HELP_OPT},

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