summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-03-20 18:36:02 +0200
committerTor Lillqvist <tml@collabora.com>2015-03-20 18:36:21 +0200
commitff0c2916f002b630685c8a6fbae8494c7b01c6dd (patch)
treef734a6161e438f6037b14d153223c4e3abbfe0d7 /vcl/headless
parent41c66312885393614c274897fd75a25c2ddf6ba0 (diff)
No need for svp_create_SalInstance to be extern "C"
Change-Id: I29eb3dfee751c5f40690f604eaff9bd1f18cf046
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpdata.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/vcl/headless/svpdata.cxx b/vcl/headless/svpdata.cxx
index f5b25a1150f7..56e7b8d82db0 100644
--- a/vcl/headless/svpdata.cxx
+++ b/vcl/headless/svpdata.cxx
@@ -19,14 +19,11 @@ public:
};
// plugin factory function
-extern "C"
+SalInstance* svp_create_SalInstance()
{
- SalInstance* svp_create_SalInstance()
- {
- SvpSalInstance* pInstance = new SvpSalInstance( new SalYieldMutex() );
- new SvpSalData( pInstance );
- return pInstance;
- }
+ SvpSalInstance* pInstance = new SvpSalInstance( new SalYieldMutex() );
+ new SvpSalData( pInstance );
+ return pInstance;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */