summaryrefslogtreecommitdiff
path: root/print_lbx.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_lbx.c
parent6dde56a016d502cf422b5c54247e225bb13e26d0 (diff)
downloadxscope-02906bf1766ad1769e03f9372611087389ee23b0.tar.gz
Constify many char pointers
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'print_lbx.c')
-rw-r--r--print_lbx.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/print_lbx.c b/print_lbx.c
index 03dcaf2..ed6ddf6 100644
--- a/print_lbx.c
+++ b/print_lbx.c
@@ -35,7 +35,7 @@ static int client_client, server_client;
void
LbxQueryVersion (
FD fd,
- unsigned char *buf)
+ const unsigned char *buf)
{
PrintField (buf, 0, 1, REQUEST, REQUESTHEADER) /* LbxRequest */ ;
PrintField (buf, 1, 1, LBXREQUEST, LBXREQUESTHEADER) /* LbxSwitch */ ;
@@ -50,7 +50,7 @@ LbxQueryVersion (
void
LbxQueryVersionReply (
FD fd,
- unsigned char *buf)
+ const unsigned char *buf)
{
short n;
long m;
@@ -69,7 +69,7 @@ LbxQueryVersionReply (
void
LbxStartProxy (
FD fd,
- unsigned char *buf)
+ const unsigned char *buf)
{
PrintField (buf, 0, 1, REQUEST, REQUESTHEADER) /* LbxRequest */ ;
PrintField (buf, 1, 1, LBXREQUEST, LBXREQUESTHEADER) /* LbxSwitch */ ;
@@ -84,7 +84,7 @@ LbxStartProxy (
void
LbxStopProxy (
FD fd,
- unsigned char *buf)
+ const unsigned char *buf)
{
PrintField (buf, 0, 1, REQUEST, REQUESTHEADER) /* LbxRequest */ ;
PrintField (buf, 1, 1, LBXREQUEST, LBXREQUESTHEADER) /* LbxSwitch */ ;
@@ -99,7 +99,7 @@ LbxStopProxy (
void
LbxNewClient (
FD fd,
- unsigned char *buf)
+ const unsigned char *buf)
{
unsigned long c;
@@ -122,14 +122,14 @@ LbxNewClient (
void
LbxCloseClient (
FD fd,
- unsigned char *buf)
+ const unsigned char *buf)
{
}
void
LbxSwitch (
FD fd,
- unsigned char *buf)
+ const unsigned char *buf)
{
unsigned long c;
c = ILong(&buf[4]);
@@ -159,7 +159,7 @@ LbxSwitch (
void
LbxModifySequence (
FD fd,
- unsigned char *buf)
+ const unsigned char *buf)
{
int mod;
@@ -180,7 +180,7 @@ LbxModifySequence (
void
LbxSwitchEvent (
FD fd,
- unsigned char *buf)
+ const unsigned char *buf)
{
unsigned long c;
@@ -203,7 +203,7 @@ LbxSwitchEvent (
void
LbxCloseEvent (
FD fd,
- unsigned char *buf)
+ const unsigned char *buf)
{
PrintField(buf, 0, 1, EVENT, EVENTHEADER) /* LbxEvent */ ;
PrintField(buf, 1, 1, LBXEVENT, LBXEVENTHEADER) /* LbxSwitchEvent */ ;