Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2007 18:16:04 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libmemstat memstat_malloc.c
Message-ID:  <200705211816.l4LIG5io091428@repoman.freebsd.org>

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



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