cvs commit: src/bin/cp cp.c utils.c src/bin/cpdup cpdup.c misc.c src/bin/date date.c netdate.c vary.c

Chris Pressey cpressey at crater.dragonflybsd.org
Fri Mar 19 09:31:34 PST 2004


cpressey    2004/03/19 09:30:59 PST

DragonFly src repository

  Modified files:
    bin/cp               cp.c utils.c 
    bin/cpdup            cpdup.c misc.c 
    bin/date             date.c netdate.c vary.c 
  Log:
  Clean up the code in bin/ to reduce warnings from GCC3.
  
  Stage 3 of 5 or so: cleanups to cp, cpdup, and date.
  - Add ``const'' to  appropriate variable declarations and casts.
  - Convert ``quad'' types to ``long long''.
  - Convert appropriate ``int'' types to ``size_t'' and ``dev_t''.
  - Rename functions/variables to not conflict with globals.
  - Add/remove function prototypes and #includes as appropriate.
  - Split a long string constant.
  - Convert K&R style declarations to ANSI style.
  
  Submitted-by: Simon 'corecode' Schubert <corecode at xxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.4       +3 -6      src/bin/cp/cp.c
  1.3       +12 -22    src/bin/cp/utils.c
  1.3       +26 -24    src/bin/cpdup/cpdup.c
  1.3       +2 -1      src/bin/cpdup/misc.c
  1.5       +4 -4      src/bin/date/date.c
  1.4       +6 -5      src/bin/date/netdate.c
  1.3       +7 -7      src/bin/date/vary.c


http://www.dragonflybsd.org/cvsweb/src/bin/cp/cp.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/cp/utils.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/cpdup/cpdup.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/cpdup/misc.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/date/date.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/date/netdate.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/date/vary.c.diff?r1=1.2&r2=1.3&f=h





More information about the Commits mailing list