summaryrefslogtreecommitdiffstats
path: root/lib/libpmc
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2012-03-22 19:04:22 +0000
committerjkoshy <jkoshy@FreeBSD.org>2012-03-22 19:04:22 +0000
commitf9f3805d9d1b7897c00f81f205008dbdaebf949b (patch)
treefb38ce35ebd87407f23c3c2998063530572f38c5 /lib/libpmc
parentaefc71658f052223cfbe94a5ff41f06dddce5af4 (diff)
downloadFreeBSD-src-f9f3805d9d1b7897c00f81f205008dbdaebf949b.zip
FreeBSD-src-f9f3805d9d1b7897c00f81f205008dbdaebf949b.tar.gz
Correct a function prototype.
Submitted by: "Anders Magnusson" <ragge at ludd.ltu.se>, via joel
Diffstat (limited to 'lib/libpmc')
-rw-r--r--lib/libpmc/pmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpmc/pmc.h b/lib/libpmc/pmc.h
index 2be88b1..e17a584 100644
--- a/lib/libpmc/pmc.h
+++ b/lib/libpmc/pmc.h
@@ -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);
OpenPOWER on IntegriCloud