cvs commit: src/bin/ed cbc.c ed.h io.c main.c src/bin/ps extern.h fmt.c keyword.c nlist.c print.c ps.c ps.h

Chris Pressey cpressey at crater.dragonflybsd.org
Fri Mar 19 09:48:28 PST 2004


cpressey    2004/03/19 09:47:49 PST

DragonFly src repository

  Modified files:
    bin/ed               cbc.c ed.h io.c main.c 
    bin/ps               extern.h fmt.c keyword.c nlist.c print.c 
                         ps.c ps.h 
  Log:
  Clean up the code in bin/ to reduce warnings from GCC3.
  
  Stage 4 of 5 or so: cleanups to ed and ps.
  - Add ``const'' and ``static'' to  appropriate variable delcarations
    and casts.
  - Fix signedness on appropriate ``int'' declarations.
  - Convert appropriate ``int'' types to ``size_t''.
  - Rename functions/variables to not conflict with globals.
  - Add missing #include's.
  
  Submitted-by: Simon 'corecode' Schubert <corecode at xxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.4       +17 -17    src/bin/ed/cbc.c
  1.5       +4 -4      src/bin/ed/ed.h
  1.4       +1 -1      src/bin/ed/io.c
  1.4       +3 -3      src/bin/ed/main.c
  1.5       +35 -35    src/bin/ps/extern.h
  1.5       +2 -2      src/bin/ps/fmt.c
  1.10      +11 -4     src/bin/ps/keyword.c
  1.4       +4 -0      src/bin/ps/nlist.c
  1.10      +85 -83    src/bin/ps/print.c
  1.6       +32 -27    src/bin/ps/ps.c
  1.5       +21 -21    src/bin/ps/ps.h


http://www.dragonflybsd.org/cvsweb/src/bin/ed/cbc.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ed/ed.h.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ed/io.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ed/main.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ps/extern.h.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ps/fmt.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ps/keyword.c.diff?r1=1.9&r2=1.10&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ps/nlist.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ps/print.c.diff?r1=1.9&r2=1.10&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ps/ps.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/ps/ps.h.diff?r1=1.4&r2=1.5&f=h





More information about the Commits mailing list