Added extern "C" wrappers to clean up some Solaris warnings
This commit is contained in:
@@ -54,9 +54,11 @@ extern "C" {
|
||||
|
||||
const char *server_port = CA_SERVER_PORT;
|
||||
|
||||
extern "C" {
|
||||
static void exitSubroutine(subRecord *precord) {
|
||||
epicsExit((precord->a == 0.0) ? EXIT_SUCCESS : EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
static int fl_equals_array(short type, const db_field_log *pfl1, void *p2) {
|
||||
for (int i = 0; i < pfl1->no_elements; i++) {
|
||||
@@ -298,6 +300,7 @@ static void check(short dbr_type) {
|
||||
|
||||
static dbEventCtx evtctx;
|
||||
|
||||
extern "C" {
|
||||
static void arrTestCleanup(void* junk)
|
||||
{
|
||||
dbFreeBase(pdbbase);
|
||||
@@ -308,6 +311,7 @@ static void arrTestCleanup(void* junk)
|
||||
|
||||
dbmfFreeChunks();
|
||||
}
|
||||
}
|
||||
|
||||
MAIN(arrTest)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user