From 8724fc18afa1d2702eeed9aa6e7d825d25cbda98 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 15 Nov 2008 22:35:12 +0100 Subject: Use of const for some functions returning "char *" --- src/plugins/demo/demo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/demo/demo.c') diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c index 663fcd463..796b6df45 100644 --- a/src/plugins/demo/demo.c +++ b/src/plugins/demo/demo.c @@ -178,7 +178,8 @@ demo_buffer_set_command_cb (void *data, struct t_gui_buffer *buffer, int argc, void demo_infolist_print (struct t_infolist *infolist, const char *item_name) { - char *fields, **argv; + const char *fields; + char **argv; void *pointer; int i, j, argc, size; time_t time; -- cgit v1.2.3