summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-04 09:41:42 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-04 09:41:42 +0000
commit456c701f8cc82b30babb0234dc6bac827859b21a (patch)
tree315dd070d42926a689caa8de8f27b76e3b5f947b
parent5aa36b63aeedc7801f7c187b98d538b01898c04c (diff)
downloadrsyslog-456c701f8cc82b30babb0234dc6bac827859b21a.tar.gz
rsyslog-456c701f8cc82b30babb0234dc6bac827859b21a.tar.xz
rsyslog-456c701f8cc82b30babb0234dc6bac827859b21a.zip
some more unsigned char conversions...
-rw-r--r--outchannel.c2
-rw-r--r--outchannel.h2
-rw-r--r--template.c2
-rw-r--r--template.h2
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);
diff --git a/template.c b/template.c
index 00dda0d0..ff622635 100644
--- a/template.c
+++ b/template.c
@@ -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;
diff --git a/template.h b/template.h
index a23a3ba6..0e707eff 100644
--- a/template.h
+++ b/template.h
@@ -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);