Re: [PATCH 05/14] tools/libs: guest: Use const whenever we point to literal strings

2021-05-18 Thread Julien Grall
Hi Anthony, On 11/05/2021 15:58, Anthony PERARD wrote: On Mon, Apr 05, 2021 at 04:57:04PM +0100, Julien Grall wrote: From: Julien Grall literal strings are not meant to be modified. So we should use const *char rather than char * when we want to store a pointer to them. Signed-off-by: Julien

Re: [PATCH 05/14] tools/libs: guest: Use const whenever we point to literal strings

2021-05-11 Thread Anthony PERARD
On Mon, Apr 05, 2021 at 04:57:04PM +0100, Julien Grall wrote: > From: Julien Grall > > literal strings are not meant to be modified. So we should use const > *char rather than char * when we want to store a pointer to them. > > Signed-off-by: Julien Grall > --- > diff --git a/tools/libs/guest/x

[PATCH 05/14] tools/libs: guest: Use const whenever we point to literal strings

2021-04-05 Thread Julien Grall
From: Julien Grall literal strings are not meant to be modified. So we should use const *char rather than char * when we want to store a pointer to them. Signed-off-by: Julien Grall --- tools/include/xenguest.h| 10 +- tools/libs/guest/xg_dom_core.c | 8 tool