Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 04:38:18 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334130 - head/lib/libpmcstat
Message-ID:  <201805240438.w4O4cINk006165@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmacy
Date: Thu May 24 04:38:17 2018
New Revision: 334130
URL: https://svnweb.freebsd.org/changeset/base/334130

Log:
  fix !amd64 signature for pmu_sample_rate_get

Modified:
  head/lib/libpmcstat/libpmcstat_pmu_util.c

Modified: head/lib/libpmcstat/libpmcstat_pmu_util.c
==============================================================================
--- head/lib/libpmcstat/libpmcstat_pmu_util.c	Thu May 24 04:31:53 2018	(r334129)
+++ head/lib/libpmcstat/libpmcstat_pmu_util.c	Thu May 24 04:38:17 2018	(r334130)
@@ -124,5 +124,5 @@ pmcstat_pmu_sample_rate_get(const char *event_name)
 }
 
 #else
-uint64_t pmcstat_pmu_sample_rate_get(void) { return (DEFAULT_SAMPLE_COUNT); }
+uint64_t pmcstat_pmu_sample_rate_get(const char *event_name __unused) { return (DEFAULT_SAMPLE_COUNT); }
 #endif



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