changes to make things build

This commit is contained in:
Marty Kraimer
2004-02-13 18:51:42 +00:00
parent 5f712bde67
commit f32d647482
3 changed files with 4 additions and 4 deletions

View File

@@ -32,12 +32,13 @@
#include "caeventmask.h"
#include "alarm.h"
#define epicsExportSharedSymbols
#include "epicsExport.h"
#include "asLib.h"
#include "asDbLib.h"
#include "asCa.h"
epicsShareDef int asCaDebug = 0;
int asCaDebug = 0;
epicsExportAddress(int,asCaDebug);
LOCAL int firstTime = TRUE;
LOCAL epicsThreadId threadid=0;
LOCAL int caInitializing=FALSE;

View File

@@ -21,7 +21,6 @@ extern "C" {
epicsShareFunc void epicsShareAPI asCaStart(void);
epicsShareFunc void epicsShareAPI asCaStop(void);
epicsShareFunc int epicsShareAPI ascar(int level);
epicsShareExtern int asCaDebug;
#ifdef __cplusplus
}

View File

@@ -154,7 +154,7 @@ if (@variables) {
$argType = $iocshTypes{$varType{$var}};
die "Unknown variable type $varType{$var} for variable $var"
unless $argType;
print "\t{\"$var\", $argType, (void * const)p$var},\n";
print "\t{\"$var\", $argType, (void *)p$var},\n";
}
print "\t{NULL, iocshArgInt, NULL}\n};\n\n";
}