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

Diff for /src/usr.bin/cvs/rcs.c between version 1.161 and 1.162

version 1.161, 2006/04/05 01:38:55 version 1.162, 2006/04/10 08:08:00
Line 1470 
Line 1470 
  * rcs_kwexp_set()   * rcs_kwexp_set()
  *   *
  * Set the keyword expansion mode to use on the RCS file <file> to <mode>.   * Set the keyword expansion mode to use on the RCS file <file> to <mode>.
  * Returns 0 on success, or -1 on failure.  
  */   */
 int  void
 rcs_kwexp_set(RCSFILE *file, int mode)  rcs_kwexp_set(RCSFILE *file, int mode)
 {  {
         int i;          int i;
         char *tmp, buf[8] = "";          char *tmp, buf[8] = "";
   
         if (RCS_KWEXP_INVAL(mode))          if (RCS_KWEXP_INVAL(mode))
                 return (-1);                  return;
   
         i = 0;          i = 0;
         if (mode == RCS_KWEXP_NONE)          if (mode == RCS_KWEXP_NONE)
Line 1501 
Line 1500 
         file->rf_expand = tmp;          file->rf_expand = tmp;
         /* not synced anymore */          /* not synced anymore */
         file->rf_flags &= ~RCS_SYNCED;          file->rf_flags &= ~RCS_SYNCED;
   
         return (0);  
 }  }
   
 /*  /*

Legend:
Removed from v.1.161  
changed lines
  Added in v.1.162