From owner-cvs-all@FreeBSD.ORG Mon May 21 18:16:05 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED0B816A46B; Mon, 21 May 2007 18:16:05 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C6BD113C46E; Mon, 21 May 2007 18:16:05 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4LIG5vR091446; Mon, 21 May 2007 18:16:05 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4LIG5io091428; Mon, 21 May 2007 18:16:05 GMT (envelope-from rwatson) Message-Id: <200705211816.l4LIG5io091428@repoman.freebsd.org> From: Robert Watson Date: Mon, 21 May 2007 18:16:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libmemstat memstat_malloc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 21 May 2007 18:16:06 -0000 rwatson 2007-05-21 18:16:04 UTC FreeBSD src repository Modified files: lib/libmemstat memstat_malloc.c Log: Make pointer argument to kread_string() const since the kernel structure field is const, and then employ __DECONST before getting into the kvm code. This eliminates a gcc 4.2 warning about losing constification. __DECONST advice from: sam Revision Changes Path 1.7 +4 -3 src/lib/libmemstat/memstat_malloc.c