From 63a4c24616fafa2b86d6391308ffd93e012115e4 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 20 Oct 2012 12:53:26 +0000 Subject: Symbol hygiene: Make sure declarations and definitions match, make helper functions static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166376 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/SubtargetFeature.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/MC/SubtargetFeature.cpp') diff --git a/lib/MC/SubtargetFeature.cpp b/lib/MC/SubtargetFeature.cpp index 378c4184a8..7625abd465 100644 --- a/lib/MC/SubtargetFeature.cpp +++ b/lib/MC/SubtargetFeature.cpp @@ -119,8 +119,8 @@ void SubtargetFeatures::AddFeature(const StringRef String, } /// Find KV in array using binary search. -const SubtargetFeatureKV *Find(const StringRef S, const SubtargetFeatureKV *A, - size_t L) { +static const SubtargetFeatureKV *Find(StringRef S, const SubtargetFeatureKV *A, + size_t L) { // Make the lower bound element we're looking for SubtargetFeatureKV KV; KV.Key = S.data(); -- cgit v1.2.3-18-g5258