diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-04 09:41:42 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-04 09:41:42 +0000 |
commit | 456c701f8cc82b30babb0234dc6bac827859b21a (patch) | |
tree | 315dd070d42926a689caa8de8f27b76e3b5f947b | |
parent | 5aa36b63aeedc7801f7c187b98d538b01898c04c (diff) | |
download | rsyslog-456c701f8cc82b30babb0234dc6bac827859b21a.tar.gz rsyslog-456c701f8cc82b30babb0234dc6bac827859b21a.tar.xz rsyslog-456c701f8cc82b30babb0234dc6bac827859b21a.zip |
some more unsigned char conversions...
-rw-r--r-- | outchannel.c | 2 | ||||
-rw-r--r-- | outchannel.h | 2 | ||||
-rw-r--r-- | template.c | 2 | ||||
-rw-r--r-- | template.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/outchannel.c b/outchannel.c index ef4f1ac6..a0ee01b3 100644 --- a/outchannel.c +++ b/outchannel.c @@ -175,7 +175,7 @@ static int get_restOfLine(char **pp, char **pBuf) * There might be some whitespace between the field (but not within) * and the commas. This can be removed. */ -struct outchannel *ochAddLine(char* pName, char** ppRestOfConfLine) +struct outchannel *ochAddLine(char* pName, unsigned char** ppRestOfConfLine) { struct outchannel *pOch; char *p; diff --git a/outchannel.h b/outchannel.h index 45957407..eb12af7a 100644 --- a/outchannel.h +++ b/outchannel.h @@ -13,7 +13,7 @@ struct outchannel { }; struct outchannel* ochConstruct(void); -struct outchannel *ochAddLine(char* pName, char** pRestOfConfLine); +struct outchannel *ochAddLine(char* pName, unsigned char** pRestOfConfLine); struct outchannel *ochFind(char *pName, int iLenName); void ochDeleteAll(void); void ochPrintList(void); @@ -445,7 +445,7 @@ static int do_Parameter(char **pp, struct template *pTpl) /* Add a new template line * returns pointer to new object if it succeeds, NULL otherwise. */ -struct template *tplAddLine(char* pName, char** ppRestOfConfLine) +struct template *tplAddLine(char* pName, unsigned char** ppRestOfConfLine) { struct template *pTpl; char *p; @@ -63,7 +63,7 @@ struct templateEntry { }; struct template* tplConstruct(void); -struct template *tplAddLine(char* pName, char** pRestOfConfLine); +struct template *tplAddLine(char* pName, unsigned char** pRestOfConfLine); struct template *tplFind(char *pName, int iLenName); int tplGetEntryCount(struct template *pTpl); void tplDeleteAll(void); |