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

Diff for /src/usr.bin/rcs/rcsnum.c between version 1.15 and 1.16

version 1.15, 2014/12/01 21:58:46 version 1.16, 2015/01/16 06:40:11
Line 24 
Line 24 
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.   * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */   */
   
 #include <sys/param.h>  
   
 #include <ctype.h>  #include <ctype.h>
 #include <err.h>  #include <err.h>
 #include <string.h>  #include <string.h>
   #include <limits.h>
   
 #include "rcs.h"  #include "rcs.h"
 #include "xmalloc.h"  #include "xmalloc.h"
   
   #define MINIMUM(a, b)   (((a) < (b)) ? (a) : (b))
   
 static void      rcsnum_setsize(RCSNUM *, u_int);  static void      rcsnum_setsize(RCSNUM *, u_int);
 static char     *rcsnum_itoa(u_int16_t, char *, size_t);  static char     *rcsnum_itoa(u_int16_t, char *, size_t);
   
Line 199 
Line 200 
         u_int i;          u_int i;
         size_t slen;          size_t slen;
   
         slen = MIN(n1->rn_len, n2->rn_len);          slen = MINIMUM(n1->rn_len, n2->rn_len);
         if (depth != 0 && slen > depth)          if (depth != 0 && slen > depth)
                 slen = depth;                  slen = depth;
   

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