cvs commit: src/usr.sbin/vidcontrol Makefile decode.c vidcontrol.c

Xin LI delphij at FreeBSD.org
Wed Jan 12 19:59:45 PST 2005


delphij     2005-01-13 03:59:45 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/vidcontrol  Makefile decode.c vidcontrol.c 
  Log:
  WANRS=6 cleanup for vidcontrol(1):
          - Use foo(void) instead of foo().
          - Use static where applicable.
          - Apply more const's when passing parameters
          - signed/unsigned madness
          - Avoid namespace collision by adding underscores.
          - For 64-bit architectures, use %zx instead of %x
            when necessary.
          - When storing constants, use const instead of
            variable.
          - Bump WARNS?= from 2 to 6
  
  Revision  Changes    Path
  1.6       +3 -1      src/usr.sbin/vidcontrol/Makefile
  1.11      +1 -1      src/usr.sbin/vidcontrol/decode.c
  1.48      +92 -92    src/usr.sbin/vidcontrol/vidcontrol.c


More information about the cvs-src mailing list