cvs commit: src/lib/libpmc libpmc.c

Marcel Moolenaar marcel at FreeBSD.org
Wed Apr 20 13:48:24 PDT 2005


marcel      2005-04-20 20:48:24 UTC

  FreeBSD src repository

  Modified files:
    lib/libpmc           libpmc.c 
  Log:
  o  Do not include <machine/pmc_mdep.h>. It's automaticly included for
     us when <sys/pmc.h> is included.
  o  Replace "#if __i386__" and "#if __amd64__" with the equivalent of
     "#ifdef __i386__" and "#ifdef __amd64__" (resp.) These tokens are
     not defined on all platforms.
  o  Conditionally compile pmc_parse_mask() on i386 and amd64 only. It's
     only referenced there. This will change when support for other
     platforms is added, of course.
  
  Ok'd by: jkoshy@
  
  Revision  Changes    Path
  1.3       +9 -9      src/lib/libpmc/libpmc.c


More information about the cvs-src mailing list