Skip to content

Commit

Permalink
drop epicsExportSharedSymbols un/re-define
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Nov 16, 2019
1 parent a62c433 commit c9a39f7
Show file tree
Hide file tree
Showing 18 changed files with 25 additions and 162 deletions.
10 changes: 1 addition & 9 deletions modules/ca/src/client/bhe.h
Expand Up @@ -22,20 +22,12 @@
#ifndef bheh
#define bheh

#ifdef epicsExportSharedSymbols
# define bhehEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "tsDLList.h"
#include "tsFreeList.h"
#include "epicsTime.h"
#include "compilerDependencies.h"

#ifdef bhehEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

#include "inetAddrID.h"
#include "caProto.h"
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/cac.h
Expand Up @@ -22,11 +22,6 @@
#ifndef cach
#define cach

#ifdef epicsExportSharedSymbols
# define cach_restore_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "compilerDependencies.h"
#include "ipAddrToAsciiAsynchronous.h"
#include "msgForMultiplyDefinedPV.h"
Expand All @@ -35,10 +30,7 @@
#include "freeList.h"
#include "localHostName.h"

#ifdef cach_restore_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

#include "nciu.h"
#include "comBuf.h"
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/cacIO.h
Expand Up @@ -47,20 +47,12 @@
#include <new>
#include <stdarg.h>

#ifdef epicsExportSharedSymbols
# define cacIOh_restore_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "tsDLList.h"
#include "epicsMutex.h"
#include "epicsGuard.h"
#include "epicsThread.h"

#ifdef cacIOh_restore_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"


class cacChannel;
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/cadef.h
Expand Up @@ -32,17 +32,9 @@
# include <stdarg.h>
#endif

#ifdef epicsExportSharedSymbols
# define INCLcadefh_accessh_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "epicsThread.h"

#ifdef INCLcadefh_accessh_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"


#include "caerr.h"
Expand Down
12 changes: 2 additions & 10 deletions modules/ca/src/client/caerr.h
Expand Up @@ -23,17 +23,9 @@
#ifndef INCLcaerrh
#define INCLcaerrh

#ifdef epicsExportSharedSymbols
# define INCLcaerrh_accessh_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

# include "epicsTypes.h"
#include "epicsTypes.h"

#ifdef INCLcaerrh_accessh_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

/* CA Status Code Definitions */

Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/db_access.h
Expand Up @@ -17,18 +17,10 @@

#include <stddef.h>

#ifdef epicsExportSharedSymbols
# define INCLdb_accessh_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "epicsTypes.h"
#include "epicsTime.h"

#ifdef INCLdb_accessh_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"


#ifdef __cplusplus
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/disconnectGovernorTimer.h
Expand Up @@ -26,19 +26,11 @@
#ifndef disconnectGovernorTimerh
#define disconnectGovernorTimerh

#ifdef epicsExportSharedSymbols
# define searchTimerh_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "epicsMutex.h"
#include "epicsGuard.h"
#include "epicsTimer.h"

#ifdef searchTimerh_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

#include "caProto.h"
#include "netiiu.h"
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/nciu.h
Expand Up @@ -25,21 +25,13 @@
#ifndef nciuh
#define nciuh

#ifdef epicsExportSharedSymbols
# define nciuh_restore_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "resourceLib.h"
#include "tsDLList.h"
#include "tsFreeList.h"
#include "epicsMutex.h"
#include "compilerDependencies.h"

#ifdef nciuh_restore_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

#define CA_MINOR_PROTOCOL_REVISION 13
#include "caProto.h"
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/oldAccess.h
Expand Up @@ -28,19 +28,11 @@

#include <memory>

#ifdef epicsExportSharedSymbols
# define oldAccessh_restore_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "tsFreeList.h"
#include "compilerDependencies.h"
#include "osiSock.h"

#ifdef oldAccessh_restore_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

#include "caProto.h"
#include "cacIO.h"
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/repeaterClient.h
Expand Up @@ -26,19 +26,11 @@
#ifndef repeaterClienth
#define repeaterClienth

#ifdef epicsExportSharedSymbols
# define repeaterClienth_restore_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "tsDLList.h"
#include "tsFreeList.h"
#include "compilerDependencies.h"

#ifdef repeaterClienth_restore_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

union osiSockAddr;

Expand Down
12 changes: 1 addition & 11 deletions modules/ca/src/client/repeaterSubscribeTimer.h
Expand Up @@ -28,17 +28,7 @@

#include "epicsTimer.h"

#ifdef epicsExportSharedSymbols
# define repeaterSubscribeTimerh_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "epicsTimer.h"

#ifdef repeaterSubscribeTimerh_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

class epicsMutex;
class cacContextNotify;
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/searchTimer.h
Expand Up @@ -26,19 +26,11 @@
#ifndef searchTimerh
#define searchTimerh

#ifdef epicsExportSharedSymbols
# define searchTimerh_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "epicsMutex.h"
#include "epicsGuard.h"
#include "epicsTimer.h"

#ifdef searchTimerh_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

#include "caProto.h"
#include "netiiu.h"
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/syncGroup.h
Expand Up @@ -25,21 +25,13 @@
#ifndef syncGrouph
#define syncGrouph

#ifdef epicsExportSharedSymbols
# define syncGrouph_restore_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "tsDLList.h"
#include "tsFreeList.h"
#include "resourceLib.h"
#include "epicsEvent.h"
#include "compilerDependencies.h"

#ifdef syncGrouph_restore_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

#include "cadef.h"
#include "cacIO.h"
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/tcpRecvWatchdog.h
Expand Up @@ -26,17 +26,9 @@
#ifndef tcpRecvWatchdogh
#define tcpRecvWatchdogh

#ifdef epicsExportSharedSymbols
# define tcpRecvWatchdogh_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "epicsTimer.h"

#ifdef tcpRecvWatchdogh_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

class tcpiiu;

Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/tcpSendWatchdog.h
Expand Up @@ -27,17 +27,9 @@
#define tcpSendWatchdogh


#ifdef epicsExportSharedSymbols
# define tcpSendWatchdogh_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "epicsTimer.h"

#ifdef tcpSendWatchdogh_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

class tcpSendWatchdog : private epicsTimerNotify {
public:
Expand Down
10 changes: 1 addition & 9 deletions modules/ca/src/client/udpiiu.h
Expand Up @@ -27,20 +27,12 @@

#include <memory>

#ifdef epicsExportSharedSymbols
# define udpiiuh_accessh_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "osiSock.h"
#include "epicsThread.h"
#include "epicsTime.h"
#include "tsDLList.h"

#ifdef udpiiuh_accessh_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

#include "netiiu.h"
#include "searchTimer.h"
Expand Down
10 changes: 1 addition & 9 deletions modules/database/src/ioc/db/dbAccessDefs.h
Expand Up @@ -11,18 +11,10 @@
#ifndef INCdbAccessDefsh
#define INCdbAccessDefsh

#ifdef epicsExportSharedSymbols
# define INCLdb_accessh_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "epicsTypes.h"
#include "epicsTime.h"

#ifdef INCLdb_accessh_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

#include "dbBase.h"
#include "dbAddr.h"
Expand Down
13 changes: 7 additions & 6 deletions modules/database/src/ioc/db/dbCAC.h
Expand Up @@ -19,25 +19,26 @@
#ifndef dbCACh
#define dbCACh

#ifdef epicsExportSharedSymbols
# define dbCACh_restore_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "stdlib.h"

#include <memory> // std::auto_ptr

#include "tsDLList.h"
#include "tsFreeList.h"
#include "resourceLib.h"

#ifdef epicsExportSharedSymbols
# define dbCACh_restore_epicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif

#include "cacIO.h"
#include "compilerDependencies.h"

#ifdef dbCACh_restore_epicsExportSharedSymbols
# define epicsExportSharedSymbols
# include "shareLib.h"
#endif
#include "shareLib.h"

#include "db_access.h"
#include "dbNotify.h"
Expand Down

0 comments on commit c9a39f7

Please sign in to comment.