From 36ddba4f6f916eabfc94a22cf7845221f1d4a3cb Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 8 Jul 2012 13:27:37 -0700 Subject: Define *HEADER constants as string pointers, not arrays Signed-off-by: Alan Coopersmith --- print11.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'print11.c') diff --git a/print11.c b/print11.c index e7da143..36b335f 100644 --- a/print11.c +++ b/print11.c @@ -179,10 +179,10 @@ PrintSuccessfulSetUpReply(const unsigned char *buf) /* */ /* ************************************************************ */ -const char REQUESTHEADER[] = "............REQUEST"; -const char EVENTHEADER[] = "..............EVENT"; -const char ERRORHEADER[] = "..............ERROR"; -const char REPLYHEADER[] = "..............REPLY"; +const char *REQUESTHEADER = "............REQUEST"; +const char *EVENTHEADER = "..............EVENT"; +const char *ERRORHEADER = "..............ERROR"; +const char *REPLYHEADER = "..............REPLY"; /* ************************************************************ */ -- cgit v1.2.1