[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.183 and 1.184

version 1.183, 2006/06/06 05:13:39 version 1.184, 2006/06/09 14:57:13
Line 791 
Line 791 
 }  }
   
 /*  /*
    * rcs_sym_get()
    *
    * Find a specific symbol <sym> entry in the tree of the RCS file <file>.
    *
    * Returns a pointer to the symbol on success, or NULL on failure.
    */
   struct rcs_sym *
   rcs_sym_get(RCSFILE *file, const char *sym)
   {
           struct rcs_sym *symp;
   
           TAILQ_FOREACH(symp, &(file->rf_symbols), rs_list)
                   if (strcmp(symp->rs_name, sym) == 0)
                           return (symp);
   
           return (NULL);
   }
   
   /*
  * rcs_sym_getrev()   * rcs_sym_getrev()
  *   *
  * Retrieve the RCS revision number associated with the symbol <sym> for the   * Retrieve the RCS revision number associated with the symbol <sym> for the

Legend:
Removed from v.1.183  
changed lines
  Added in v.1.184