summaryrefslogtreecommitdiff
path: root/print_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 /print_bigreq.c
parent6dde56a016d502cf422b5c54247e225bb13e26d0 (diff)
downloadxscope-02906bf1766ad1769e03f9372611087389ee23b0.tar.gz
Constify many char pointers
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'print_bigreq.c')
-rw-r--r--print_bigreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print_bigreq.c b/print_bigreq.c
index e0f1f6f..7bbe56e 100644
--- a/print_bigreq.c
+++ b/print_bigreq.c
@@ -27,7 +27,7 @@
#include "bigreqscope.h"
void
-BigreqEnable (FD fd, unsigned char *buf)
+BigreqEnable (FD fd, const unsigned char *buf)
{
PrintField (buf, 0, 1, REQUEST, REQUESTHEADER) /* BigreqRequest */ ;
PrintField (buf, 1, 1, BIGREQREQUEST, BIGREQREQUESTHEADER) /* BigreqSwitch */ ;
@@ -40,7 +40,7 @@ BigreqEnable (FD fd, unsigned char *buf)
}
void
-BigreqEnableReply (FD fd, unsigned char *buf)
+BigreqEnableReply (FD fd, const unsigned char *buf)
{
short n;
long m;