diff --git a/test/addons/hello-world/binding.cc b/test/addons/hello-world/binding.cc index 81bcbc29c78645..f2d26b53e985cf 100644 --- a/test/addons/hello-world/binding.cc +++ b/test/addons/hello-world/binding.cc @@ -1,7 +1,7 @@ #include #include -void Method(const v8::FunctionCallbackInfo& args) { +static void Method(const v8::FunctionCallbackInfo& args) { v8::Isolate* isolate = args.GetIsolate(); args.GetReturnValue().Set(v8::String::NewFromUtf8( isolate, "world", v8::NewStringType::kNormal).ToLocalChecked());