clean up some 'extern "C"' calls

This commit is contained in:
2018-05-25 16:17:30 +02:00
parent 409c109972
commit 485d2f128f

View File

@ -89,10 +89,12 @@ enum MoreFlags {
Aborted = 0x0400000 Aborted = 0x0400000
}; };
extern "C" void streamExecuteCommand(CALLBACK *pcallback); extern "C" {
extern "C" void streamRecordProcessCallback(CALLBACK *pcallback); void streamExecuteCommand(CALLBACK *pcallback);
extern "C" long streamReload(const char* recordname); void streamRecordProcessCallback(CALLBACK *pcallback);
extern "C" long streamReportRecord(const char* recordname); long streamReload(const char* recordname);
long streamReportRecord(const char* recordname);
}
class Stream : protected StreamCore class Stream : protected StreamCore
#ifndef EPICS_3_13 #ifndef EPICS_3_13
@ -178,10 +180,8 @@ public:
// shell functions /////////////////////////////////////////////////////// // shell functions ///////////////////////////////////////////////////////
#ifndef EPICS_3_13 #ifndef EPICS_3_13
extern "C" {
epicsExportAddress(int, streamDebug); epicsExportAddress(int, streamDebug);
epicsExportAddress(int, streamError); epicsExportAddress(int, streamError);
}
#endif #endif
// for subroutine record // for subroutine record