extern C except for registerObj

This commit is contained in:
Marty Kraimer
2004-08-30 13:39:03 +00:00
parent 4c827f8104
commit 4d636df146
+2 -4
View File
@@ -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};