From d0bb9f1249311ba1cf570c976a879fef0a11417a Mon Sep 17 00:00:00 2001 From: Xorg Date: Thu, 15 Oct 2015 16:37:19 +0200 Subject: [PATCH] Make some functions private This commit is to complete commit 7df646a2749f6ef942f9684d66fee14614a74314. --- libcpuid/rdmsr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcpuid/rdmsr.c b/libcpuid/rdmsr.c index 3256fd8..4aadf1b 100644 --- a/libcpuid/rdmsr.c +++ b/libcpuid/rdmsr.c @@ -406,7 +406,7 @@ static int perfmsr_measure(struct msr_driver_t* handle, int msr) #define PLATFORM_INFO_MSR_low 8 #define PLATFORM_INFO_MSR_high 15 -int get_bits_value(unsigned long val, int highbit, int lowbit) +static int get_bits_value(unsigned long val, int highbit, int lowbit) { unsigned long data = val; int bits = highbit - lowbit + 1; @@ -417,7 +417,7 @@ int get_bits_value(unsigned long val, int highbit, int lowbit) return(data); } -uint64_t cpu_rdmsr_range(struct msr_driver_t* handle, uint32_t reg, unsigned int highbit, +static uint64_t cpu_rdmsr_range(struct msr_driver_t* handle, uint32_t reg, unsigned int highbit, unsigned int lowbit, int* error_indx) { uint64_t data;