From 02906bf1766ad1769e03f9372611087389ee23b0 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 6 May 2009 17:00:09 -0700 Subject: Constify many char pointers Signed-off-by: Alan Coopersmith --- decode_bigreq.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'decode_bigreq.c') diff --git a/decode_bigreq.c b/decode_bigreq.c index d359a5a..087a65d 100644 --- a/decode_bigreq.c +++ b/decode_bigreq.c @@ -37,7 +37,7 @@ unsigned char BIGREQRequest; void bigreq_decode_req ( FD fd, - unsigned char *buf) + const unsigned char *buf) { short Major = IByte (&buf[0]); short Minor = IByte (&buf[1]); @@ -55,7 +55,7 @@ bigreq_decode_req ( void bigreq_decode_reply ( FD fd, - unsigned char *buf, + const unsigned char *buf, short RequestMinor) { switch (RequestMinor) { @@ -65,7 +65,7 @@ bigreq_decode_reply ( void InitializeBIGREQ( - unsigned char *buf) + const unsigned char *buf) { TYPE p; @@ -75,9 +75,9 @@ InitializeBIGREQ( DefineEValue (&TD[REQUEST], (unsigned long) BIGREQRequest, "BigreqRequest"); DefineEValue (&TD[REPLY], (unsigned long) BIGREQRequest, "BigreqReply"); - p = DefineType(BIGREQREQUEST, ENUMERATED, "BIGREQREQUEST", PrintENUMERATED); + p = DefineType(BIGREQREQUEST, ENUMERATED, "BIGREQREQUEST", (PrintProcType) PrintENUMERATED); DefineEValue(p, 0L, "BigreqEnable"); - p = DefineType(BIGREQREPLY, ENUMERATED, "BIGREQREPLY", PrintENUMERATED); + p = DefineType(BIGREQREPLY, ENUMERATED, "BIGREQREPLY", (PrintProcType) PrintENUMERATED); DefineEValue (p, 0L, "BigreqEnable"); } -- cgit v1.2.1