Wrong keyword, use epicsShareFunc

This commit is contained in:
Andrew Johnson
2016-04-05 18:28:20 -05:00
parent b4cfe861d3
commit 7ed5f8b4bf
8 changed files with 13 additions and 13 deletions

View File

@@ -990,9 +990,9 @@ public:
virtual std::auto_ptr<stringVector_t> getProviderNames() = 0;
};
epicsShareExtern ChannelProviderRegistry::shared_pointer getChannelProviderRegistry();
epicsShareExtern void registerChannelProviderFactory(ChannelProviderFactory::shared_pointer const & channelProviderFactory);
epicsShareExtern void unregisterChannelProviderFactory(ChannelProviderFactory::shared_pointer const & channelProviderFactory);
epicsShareFunc ChannelProviderRegistry::shared_pointer getChannelProviderRegistry();
epicsShareFunc void registerChannelProviderFactory(ChannelProviderFactory::shared_pointer const & channelProviderFactory);
epicsShareFunc void unregisterChannelProviderFactory(ChannelProviderFactory::shared_pointer const & channelProviderFactory);
/**

View File

@@ -65,7 +65,7 @@ public:
};
epicsShareExtern Channel::shared_pointer createPipelineChannel(ChannelProvider::shared_pointer const & provider,
epicsShareFunc Channel::shared_pointer createPipelineChannel(ChannelProvider::shared_pointer const & provider,
std::string const & channelName,
ChannelRequester::shared_pointer const & channelRequester,
PipelineService::shared_pointer const & pipelineService);

View File

@@ -111,7 +111,7 @@ private:
bool _developmentFlag;
};
epicsShareExtern std::ostream& operator<<(std::ostream& o, const Version& v);
epicsShareFunc std::ostream& operator<<(std::ostream& o, const Version& v);
}
}

View File

@@ -505,7 +505,7 @@ private:
typedef std::vector<BlockingUDPTransport::shared_pointer> BlockingUDPTransportVector;
epicsShareExtern void initializeUDPTransports(
epicsShareFunc void initializeUDPTransports(
bool serverFlag,
BlockingUDPTransportVector& udpTransports,
const IfaceNodeVector& ifaceList,

View File

@@ -131,7 +131,7 @@ public:
virtual void destroy() = 0;
};
epicsShareExtern ChannelProvider::shared_pointer createClientProvider(const Configuration::shared_pointer& conf);
epicsShareFunc ChannelProvider::shared_pointer createClientProvider(const Configuration::shared_pointer& conf);
}
}

View File

@@ -67,7 +67,7 @@ public:
};
epicsShareExtern Channel::shared_pointer createRPCChannel(ChannelProvider::shared_pointer const & provider,
epicsShareFunc Channel::shared_pointer createRPCChannel(ChannelProvider::shared_pointer const & provider,
std::string const & channelName,
ChannelRequester::shared_pointer const & channelRequester,
Service::shared_pointer const & rpcService);

View File

@@ -453,7 +453,7 @@ private:
};
epicsShareExtern ServerContext::shared_pointer startPVAServer(
epicsShareFunc ServerContext::shared_pointer startPVAServer(
std::string const & providerNames = PVACCESS_ALL_PROVIDERS,
int timeToRun = 0,
bool runInSeparateThread = false,

View File

@@ -48,9 +48,9 @@ OFF
*/
epicsShareExtern void pvAccessLog(pvAccessLogLevel level, const char* format, ...);
epicsShareExtern void pvAccessSetLogLevel(pvAccessLogLevel level);
epicsShareExtern bool pvAccessIsLoggable(pvAccessLogLevel level);
epicsShareFunc void pvAccessLog(pvAccessLogLevel level, const char* format, ...);
epicsShareFunc void pvAccessSetLogLevel(pvAccessLogLevel level);
epicsShareFunc bool pvAccessIsLoggable(pvAccessLogLevel level);
#if defined (__GNUC__) && __GNUC__ < 3
#define LOG(level, format, ARGS...) pvAccessLog(level, format, ##ARGS)
@@ -76,7 +76,7 @@ epicsShareExtern bool pvAccessIsLoggable(pvAccessLogLevel level);
* @param[in] fname The file to write to. If the file exists, it
* is opened for append.
*/
epicsShareExtern void createFileLogger( std::string const & fname );
epicsShareFunc void createFileLogger( std::string const & fname );
}
}