polished code to suppress warnings
SKIPPED: psi/makefile_linux
This commit is contained in:
14
SCinter.c
14
SCinter.c
@ -74,7 +74,6 @@
|
||||
#include "lld_str.h"
|
||||
static void printList(SConnection *pCon, int listID);
|
||||
static void freeList(int listID);
|
||||
int compareStringNode(void *pStr1, void **ppStr2);
|
||||
|
||||
#define MAXLEN 256
|
||||
#define MAXPAR 100
|
||||
@ -535,6 +534,12 @@ static void printAll(SicsInterp *pSics, SConnection *pCon)
|
||||
SCWrite(pCon,pBueffel,eStatus);
|
||||
}
|
||||
}
|
||||
/*------------------------------------------------------------------------*/
|
||||
/* compareStringNode wraps strcmp for use in findNode(LLD module) calls */
|
||||
int compareStringNode(const void *pStr1, const void *ppStr2)
|
||||
{
|
||||
return strcmp((char *)pStr1,*(char **)ppStr2);
|
||||
}
|
||||
/*------------------------------------------------------------------------
|
||||
printAllTypes prints the list of types of objects instantiated on the
|
||||
CommandList.
|
||||
@ -1001,13 +1006,6 @@ static void freeList(int listID)
|
||||
} while(0!=LLDnodePtr2First(listID));
|
||||
LLDdelete(listID);
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
/* compareStringNode wraps strcmp for use in findNode(LLD module) calls */
|
||||
int compareStringNode(void *pStr1, void **ppStr2)
|
||||
{
|
||||
return strcmp((char *)pStr1,(char *)(*ppStr2));
|
||||
}
|
||||
/*------------------------------------------------------------------------*/
|
||||
void RemoveStartupCommands(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user