cvs commit: src/lib/libmemstat memstat_malloc.c

Robert Watson rwatson at
Mon May 21 18:16:06 UTC 2007

rwatson     2007-05-21 18:16:04 UTC

  FreeBSD src repository

  Modified files:
    lib/libmemstat       memstat_malloc.c 
  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

More information about the cvs-src mailing list