Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2005 03:59:45 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/vidcontrol Makefile decode.c vidcontrol.c
Message-ID:  <200501130359.j0D3xjS6037136@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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