changeset 161:4a4b3d5c41fa

Use more const.
author Joerg Sonnenberger <joerg@bec.de>
date Fri, 27 Feb 2015 02:48:26 +0100
parents d6e6b3940780
children 82cc6fa54b01
files macro.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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: