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
};
extern "C" void streamExecuteCommand(CALLBACK *pcallback);
extern "C" void streamRecordProcessCallback(CALLBACK *pcallback);
extern "C" long streamReload(const char* recordname);
extern "C" long streamReportRecord(const char* recordname);
extern "C" {
void streamExecuteCommand(CALLBACK *pcallback);
void streamRecordProcessCallback(CALLBACK *pcallback);
long streamReload(const char* recordname);
long streamReportRecord(const char* recordname);
}
class Stream : protected StreamCore
#ifndef EPICS_3_13
@ -178,10 +180,8 @@ public:
// shell functions ///////////////////////////////////////////////////////
#ifndef EPICS_3_13
extern "C" {
epicsExportAddress(int, streamDebug);
epicsExportAddress(int, streamError);
}
#endif
// for subroutine record