Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2012 19:04:23 +0000 (UTC)
From:      Joseph Koshy <jkoshy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233321 - head/lib/libpmc
Message-ID:  <201203221904.q2MJ4NnD037476@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkoshy
Date: Thu Mar 22 19:04:22 2012
New Revision: 233321
URL: http://svn.freebsd.org/changeset/base/233321

Log:
  Correct a function prototype.
  
  Submitted by:	"Anders Magnusson" <ragge at ludd.ltu.se>, via joel

Modified:
  head/lib/libpmc/pmc.h

Modified: head/lib/libpmc/pmc.h
==============================================================================
--- head/lib/libpmc/pmc.h	Thu Mar 22 18:07:44 2012	(r233320)
+++ head/lib/libpmc/pmc.h	Thu Mar 22 19:04:22 2012	(r233321)
@@ -98,7 +98,7 @@ int	pmc_npmc(int _cpu);
 int	pmc_cpuinfo(const struct pmc_cpuinfo **_cpu_info);
 int	pmc_pmcinfo(int _cpu, struct pmc_pmcinfo **_pmc_info);
 
-const char	*pmc_name_of_capability(uint32_t _c);
+const char	*pmc_name_of_capability(enum pmc_caps _c);
 const char	*pmc_name_of_class(enum pmc_class _pc);
 const char	*pmc_name_of_cputype(enum pmc_cputype _cp);
 const char	*pmc_name_of_disposition(enum pmc_disp _pd);



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