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

Diff for /src/usr.bin/tail/reverse.c between version 1.16 and 1.17

version 1.16, 2006/03/22 19:43:29 version 1.17, 2006/03/24 17:10:02
Line 88 
Line 88 
  *      NOREG   cyclically read input into a linked list of buffers   *      NOREG   cyclically read input into a linked list of buffers
  */   */
 void  void
 reverse(fp, style, off, sbp)  reverse(FILE *fp, enum STYLE style, off_t off, struct stat *sbp)
         FILE *fp;  
         enum STYLE style;  
         off_t off;  
         struct stat *sbp;  
 {  {
         if (style != REVERSE && off == 0)          if (style != REVERSE && off == 0)
                 return;                  return;
Line 181 
Line 177 
  * user warned).   * user warned).
  */   */
 static void  static void
 r_buf(fp)  r_buf(FILE *fp)
         FILE *fp;  
 {  {
         BF *mark, *tr, *tl = NULL;          BF *mark, *tr, *tl = NULL;
         int ch;          int ch;

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