Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2003 15:32:28 -0800 (PST)
From:      Robert Drehmel <robert@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/cksum cksum.c crc.c crc32.c extern.h print.c sum1.c sum2.c
Message-ID:  <200303132332.h2DNWSxc006807@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
robert      2003/03/13 15:32:28 PST

  FreeBSD src repository

  Modified files:
    usr.bin/cksum        cksum.c crc.c crc32.c extern.h print.c 
                         sum1.c sum2.c 
  Log:
   - For variables holding offset values, use off_t rather than
     int, long int or u_int32_t.  This changes the interface of
     all the CRC calculation and output functions from cksum.
   - Print variables of type off_t as intmax_t using a cast and %jd.
   - Use the standardized uint32_t type instead of u_int32_t.
     To have uint32_t defined, include <stdint.h> where necessary.
  Style(9):
   - Move #include directives where they belong (esp. crc32.c).
   - Add empty lines between #include directives of system headers,
     standard library headers and local headers.
   - Test a pointer value against NULL.
   - Put a space after the return keyword.
  
  PR:             bin/48424
  
  Revision  Changes    Path
  1.17      +5 -3      src/usr.bin/cksum/cksum.c
  1.8       +8 -5      src/usr.bin/cksum/crc.c
  1.9       +10 -9     src/usr.bin/cksum/crc32.c
  1.6       +7 -7      src/usr.bin/cksum/extern.h
  1.7       +13 -9     src/usr.bin/cksum/print.c
  1.8       +7 -4      src/usr.bin/cksum/sum1.c
  1.8       +7 -4      src/usr.bin/cksum/sum2.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303132332.h2DNWSxc006807>