# HG changeset patch
# User Joerg Sonnenberger <joerg@bec.de>
# Date 1425001706 -3600
# Node ID 4a4b3d5c41fac35cb03bc0405244a0a9504738c1
# Parent  d6e6b3940780ea6f1f053eab17664fe7f4942d53
Use more const.

diff -r d6e6b3940780 -r 4a4b3d5c41fa macro.c
--- a/macro.c	Fri Feb 27 02:06:49 2015 +0100
+++ b/macro.c	Fri Feb 27 02:48:26 2015 +0100
@@ -759,7 +759,7 @@
 
 static
 void
-expand_newarg(struct expstate *es, char *buf, size_t len)
+expand_newarg(struct expstate *es, const char *buf, size_t len)
 {
 	char *text;
 
@@ -769,7 +769,7 @@
 
 static
 void
-expand_appendarg(struct expstate *es, char *buf, size_t len)
+expand_appendarg(struct expstate *es, const char *buf, size_t len)
 {
 	unsigned num;
 	char *text;
@@ -922,7 +922,7 @@
 
 static
 void
-expand_got_ws(struct expstate *es, struct place *p, char *buf, size_t len)
+expand_got_ws(struct expstate *es, struct place *p, const char *buf, size_t len)
 {
 	switch (es->state) {
 	    case ES_NORMAL: