cvs commit: src/sbin/camcontrol Makefile camcontrol.c camcontrol.h modeedit.c util.c

Chris Pressey cpressey at crater.dragonflybsd.org
Tue Jan 11 15:59:11 PST 2005


cpressey    2005/01/11 15:58:56 PST

DragonFly src repository

  Modified files:
    sbin/camcontrol      Makefile camcontrol.c camcontrol.h 
                         modeedit.c util.c 
  Log:
  Raise WARNS to 6:
  - Constify several char *'s.
  - Mark unused parameters as __unused.
  - Rename local variables.
  - Format function prototypes and remove parameter names.
  - Expand a macro that was only used twice (on the same
    parameter) into a real variable to eliminate signed
    versus unsigned comparison warning [1].
  
  Submitted-by: Larry Lansing <lansil_at_fuzzynerd_dot_com>
  Additional-work-by: cpressey [1]
  
  Revision  Changes    Path
  1.4       +1 -0      src/sbin/camcontrol/Makefile
  1.3       +79 -82    src/sbin/camcontrol/camcontrol.c
  1.3       +10 -14    src/sbin/camcontrol/camcontrol.h
  1.3       +52 -57    src/sbin/camcontrol/modeedit.c
  1.3       +2 -2      src/sbin/camcontrol/util.c


http://www.dragonflybsd.org/cvsweb/src/sbin/camcontrol/Makefile.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/camcontrol/camcontrol.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/camcontrol/camcontrol.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/camcontrol/modeedit.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/camcontrol/util.c.diff?r1=1.2&r2=1.3&f=u





More information about the Commits mailing list