summaryrefslogtreecommitdiffstats
path: root/cfsysline.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-09-11 09:10:45 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-09-11 09:10:45 +0000
commitdee95717d729f136f8e6bb577927e2645bdf07dc (patch)
treef580c0691755794abb81647fc8e7e4620592806e /cfsysline.c
parente79199816d67fe2e8a93aedf84dc0b8f7652521b (diff)
downloadrsyslog-dee95717d729f136f8e6bb577927e2645bdf07dc.tar.gz
rsyslog-dee95717d729f136f8e6bb577927e2645bdf07dc.tar.xz
rsyslog-dee95717d729f136f8e6bb577927e2645bdf07dc.zip
cleaned up compiler warnings
Diffstat (limited to 'cfsysline.c')
-rw-r--r--cfsysline.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cfsysline.c b/cfsysline.c
index ad575aaa..9b3c703d 100644
--- a/cfsysline.c
+++ b/cfsysline.c
@@ -592,7 +592,7 @@ rsRetVal regCfSysLineHdlr(uchar *pCmdName, int bChainingPermitted, ecslCmdHdrlTy
uchar *pMyCmdName;
DEFiRet;
- iRet = llFind(&llCmdList, (void *) pCmdName, (void**) &pThis);
+ iRet = llFind(&llCmdList, (void *) pCmdName, (void*) &pThis);
if(iRet == RS_RET_NOT_FOUND) {
/* new command */
CHKiRet(cslcConstruct(&pThis, bChainingPermitted));
@@ -648,7 +648,7 @@ rsRetVal processCfSysLineCommand(uchar *pCmdName, uchar **p)
int bWasOnceOK; /* was the result of an handler at least once RS_RET_OK? */
uchar *pOKp = NULL; /* returned conf line pointer when it was OK */
- iRet = llFind(&llCmdList, (void *) pCmdName, (void**) &pCmd);
+ iRet = llFind(&llCmdList, (void *) pCmdName, (void*) &pCmd);
if(iRet == RS_RET_NOT_FOUND) {
logerror("invalid or yet-unknown config file command - have you forgotten to load a module?");
@@ -659,7 +659,7 @@ rsRetVal processCfSysLineCommand(uchar *pCmdName, uchar **p)
llCookieCmdHdlr = NULL;
bWasOnceOK = 0;
- while((iRetLL = llGetNextElt(&pCmd->llCmdHdlrs, &llCookieCmdHdlr, (void**)&pCmdHdlr)) == RS_RET_OK) {
+ while((iRetLL = llGetNextElt(&pCmd->llCmdHdlrs, &llCookieCmdHdlr, (void*)&pCmdHdlr)) == RS_RET_OK) {
/* for the time being, we ignore errors during handlers. The
* reason is that handlers are independent. An error in one
* handler does not necessarily mean that another one will
@@ -701,11 +701,11 @@ void dbgPrintCfSysLineHandlers(void)
printf("\nSytem Line Configuration Commands:\n");
llCookieCmd = NULL;
- while((iRet = llGetNextElt(&llCmdList, &llCookieCmd, (void**)&pCmd)) == RS_RET_OK) {
- llGetKey(llCookieCmd, (void**) &pKey); /* TODO: using the cookie is NOT clean! */
+ while((iRet = llGetNextElt(&llCmdList, &llCookieCmd, (void*)&pCmd)) == RS_RET_OK) {
+ llGetKey(llCookieCmd, (void*) &pKey); /* TODO: using the cookie is NOT clean! */
printf("\tCommand '%s':\n", pKey);
llCookieCmdHdlr = NULL;
- while((iRet = llGetNextElt(&pCmd->llCmdHdlrs, &llCookieCmdHdlr, (void**)&pCmdHdlr)) == RS_RET_OK) {
+ while((iRet = llGetNextElt(&pCmd->llCmdHdlrs, &llCookieCmdHdlr, (void*)&pCmdHdlr)) == RS_RET_OK) {
printf("\t\ttype : %d\n", pCmdHdlr->eType);
printf("\t\tpData: 0x%x\n", (unsigned) pCmdHdlr->pData);
printf("\t\tHdlr : 0x%x\n", (unsigned) pCmdHdlr->cslCmdHdlr);