From owner-cvs-all@FreeBSD.ORG Thu Jan 13 03:59:45 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45AF016A4CE; Thu, 13 Jan 2005 03:59:45 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 323B143D53; Thu, 13 Jan 2005 03:59:45 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0D3xjSl037137; Thu, 13 Jan 2005 03:59:45 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0D3xjS6037136; Thu, 13 Jan 2005 03:59:45 GMT (envelope-from delphij) Message-Id: <200501130359.j0D3xjS6037136@repoman.freebsd.org> From: Xin LI Date: Thu, 13 Jan 2005 03:59:45 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/vidcontrol Makefile decode.c vidcontrol.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 03:59:45 -0000 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