[enco.core] Resolve return-type-c-linkage warning (#3012)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 8 Feb 2019 02:24:06 +0000 (11:24 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 8 Feb 2019 02:24:06 +0000 (11:24 +0900)
This commit resolves return-type-c-linkage warning that Clang reports
during build.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/enco/core/include/enco/Backend.h

index 8ad3cd1..5da903e 100644 (file)
@@ -36,6 +36,6 @@ struct Backend
 
 } // namespace enco
 
-extern "C" std::unique_ptr<enco::Backend> make_backend(const cmdline::View &);
+std::unique_ptr<enco::Backend> make_backend(const cmdline::View &);
 
 #endif // __ENCO_BACKEND_H__