From 8db91706d779624bcfbb59b074ed4c4c567f5ac5 Mon Sep 17 00:00:00 2001 From: erg Date: Fri, 10 Jul 2009 21:10:32 +0000 Subject: [PATCH] Add const modifier to putstr --- lib/cgraph/cgraph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cgraph/cgraph.h b/lib/cgraph/cgraph.h index 6e46d917d..2bdb441e7 100644 --- a/lib/cgraph/cgraph.h +++ b/lib/cgraph/cgraph.h @@ -170,7 +170,7 @@ struct Agiddisc_s { /* object ID allocator */ struct Agiodisc_s { int (*afread) (void *chan, char *buf, int bufsize); - int (*putstr) (void *chan, char *str); + int (*putstr) (void *chan, const char *str); int (*flush) (void *chan); /* sync */ /* error messages? */ }; -- 2.40.0