From 711950c1161e3abbf722e6399aff9b42c1f99750 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 11 Feb 2019 15:16:21 +0000 Subject: Move some classes into anonymous namespaces. NFC. llvm-svn: 353710 --- llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp') diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp index d059ef69915..b7fc65401fc 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp @@ -223,7 +223,7 @@ static Function *createWrapper(Function *F, FunctionType *Ty) { // Test whether a main function with type FuncTy should be rewritten to have // type MainTy. -bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { +static bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { // Only fix the main function if it's the standard zero-arg form. That way, // the standard cases will work as expected, and users will see signature // mismatches from the linker for non-standard cases. -- cgit v1.2.3