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

Diff for /src/usr.bin/csplit/csplit.c between version 1.8 and 1.9

version 1.8, 2015/10/11 17:43:03 version 1.9, 2016/10/28 07:22:59
Line 51 
Line 51 
 #include <err.h>  #include <err.h>
 #include <errno.h>  #include <errno.h>
 #include <limits.h>  #include <limits.h>
 #include <locale.h>  
 #include <regex.h>  #include <regex.h>
 #include <signal.h>  #include <signal.h>
 #include <stdint.h>  #include <stdint.h>
Line 67 
Line 66 
 void     handlesig(int);  void     handlesig(int);
 FILE    *newfile(void);  FILE    *newfile(void);
 void     toomuch(FILE *, long);  void     toomuch(FILE *, long);
 void     usage(void);  static void __dead usage(void);
   
 /*  /*
  * Command line options   * Command line options
Line 101 
Line 100 
         char *ep, *p;          char *ep, *p;
         FILE *ofp;          FILE *ofp;
   
         setlocale(LC_ALL, "");  
   
         if (pledge("stdio rpath wpath cpath", NULL) == -1)          if (pledge("stdio rpath wpath cpath", NULL) == -1)
                 err(1, "pledge");                  err(1, "pledge");
   
Line 128 
Line 125 
                         break;                          break;
                 default:                  default:
                         usage();                          usage();
                         /*NOTREACHED*/  
                 }                  }
         }          }
   
Line 212 
Line 208 
         return (0);          return (0);
 }  }
   
 void  static void __dead
 usage(void)  usage(void)
 {  {
         extern char *__progname;          extern char *__progname;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9