summaryrefslogtreecommitdiff
path: root/decode_bigreq.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 17:00:09 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 21:44:36 -0700
commit02906bf1766ad1769e03f9372611087389ee23b0 (patch)
tree461fca85f78e124bdc68ace534401d4e6af6b03e /decode_bigreq.c
parent6dde56a016d502cf422b5c54247e225bb13e26d0 (diff)
downloadxscope-02906bf1766ad1769e03f9372611087389ee23b0.tar.gz
Constify many char pointers
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'decode_bigreq.c')
-rw-r--r--decode_bigreq.c10
1 files changed, 5 insertions, 5 deletions
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");
}