From 9f37b9d3539719dc814bae91aa24ec50bb528799 Mon Sep 17 00:00:00 2001 From: "pius.lee" Date: Tue, 20 Jan 2015 22:05:34 +0900 Subject: [PATCH] [Common] fix compiler warning about lacking namespace qualification global function declaration was lacking a namespace qualification. so add parentheses to the friend declaration. Change-Id: I3941c9b7f063a71c510deba479d8ad71f3cd527b Signed-off-by: pius.lee --- src/common/extension.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/extension.h b/src/common/extension.h index 262c5f24..248c5db6 100644 --- a/src/common/extension.h +++ b/src/common/extension.h @@ -63,7 +63,7 @@ class Extension { static std::string GetRuntimeVariable(const char* var_name, unsigned len); private: - friend int32_t ::XW_Initialize(XW_Extension extension, + friend int32_t (::XW_Initialize)(XW_Extension extension, XW_GetInterface get_interface); // XW_Extension callbacks. -- 2.34.1