From 53bad46ed0f96d7d25e4511036e578857c55a906 Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Thu, 22 Mar 2012 19:04:22 +0000 Subject: [PATCH] Correct a function prototype. Submitted by: "Anders Magnusson" , via joel --- lib/libpmc/pmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libpmc/pmc.h b/lib/libpmc/pmc.h index 2be88b121d3c..e17a5840b4ea 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);