From 585919a0d4ba35349ad7c7f621ca95e4c69f01ef Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Fri, 23 Sep 2016 20:53:42 +0000 Subject: [profile] Hide lprofCurFilename Differential Revision: https://reviews.llvm.org/D24885 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@282294 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/profile/InstrProfilingFile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/profile/InstrProfilingFile.c') diff --git a/lib/profile/InstrProfilingFile.c b/lib/profile/InstrProfilingFile.c index e264f6388..d89b3580b 100644 --- a/lib/profile/InstrProfilingFile.c +++ b/lib/profile/InstrProfilingFile.c @@ -82,7 +82,8 @@ typedef struct lprofFilename { ProfileNameSpecifier PNS; } lprofFilename; -lprofFilename lprofCurFilename = {0, 0, 0, {0}, {0}, 0, 0, 0, PNS_unknown}; +static lprofFilename lprofCurFilename = {0, 0, 0, {0}, {0}, + 0, 0, 0, PNS_unknown}; int getpid(void); static int getCurFilenameLength(); -- cgit v1.2.3