extern C except for registerObj
This commit is contained in:
+2
-4
@@ -32,6 +32,8 @@
|
||||
#define epicsExportSharedSymbols
|
||||
#include "iocsh.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
/*
|
||||
* File-local information
|
||||
*/
|
||||
@@ -66,12 +68,10 @@ struct iocshRedirect {
|
||||
/*
|
||||
* Set up command table mutex
|
||||
*/
|
||||
extern "C" {
|
||||
static void iocshTableOnce (void *)
|
||||
{
|
||||
iocshTableMutex = epicsMutexMustCreate ();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Lock the table mutex
|
||||
@@ -856,8 +856,6 @@ static void iocshCmdCallFunc(const iocshArgBuf *args)
|
||||
* so they show up in the help display
|
||||
*/
|
||||
|
||||
extern "C" {
|
||||
|
||||
/* comment */
|
||||
static const iocshArg commentArg0 = { "newline-terminated comment",iocshArgArgv};
|
||||
static const iocshArg *commentArgs[1] = {&commentArg0};
|
||||
|
||||
Reference in New Issue
Block a user