From 5e0cc38286e4063d34791437322c59af5e0679e5 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 30 Oct 2010 14:28:41 +0000 Subject: [PATCH] This function doesn't need external linkage either. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117786 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/driver/driver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/driver/driver.cpp b/tools/driver/driver.cpp index c1172817ed..0bd0c60946 100644 --- a/tools/driver/driver.cpp +++ b/tools/driver/driver.cpp @@ -36,7 +36,8 @@ using namespace clang; using namespace clang::driver; -llvm::sys::Path GetExecutablePath(const char *Argv0, bool CanonicalPrefixes) { +static llvm::sys::Path GetExecutablePath(const char *Argv0, + bool CanonicalPrefixes) { if (!CanonicalPrefixes) return llvm::sys::Path(Argv0); -- 2.40.0