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

Diff for /src/usr.bin/fold/fold.c between version 1.7 and 1.8

version 1.7, 2003/06/03 02:56:08 version 1.8, 2003/06/10 22:20:46
Line 60 
Line 60 
 int split_words = 0;  int split_words = 0;
   
 int  int
 main(argc, argv)  main(int argc, char *argv[])
         int argc;  
         char **argv;  
 {  {
         int ch;          int ch;
         int width;          int width;
Line 125 
Line 123 
  * returns embedded in the input stream.   * returns embedded in the input stream.
  */   */
 static void  static void
 fold(width)  fold(int width)
         int width;  
 {  {
         static char *buf = NULL;          static char *buf = NULL;
         static int   buf_max = 0;          static int   buf_max = 0;
Line 193 
Line 190 
  * calculate the column position   * calculate the column position
  */   */
 static int  static int
 new_column_position(col, ch)  new_column_position(int col, int ch)
         int col;  
         int ch;  
 {  {
         if (!count_bytes) {          if (!count_bytes) {
                 switch (ch) {                  switch (ch) {

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