Re: [PATCH 3/4] stat: fix up __attribute__ (const) declarations

2019-06-05 Thread Pádraig Brady
On 05/06/19 16:59, Dominique Martinet wrote: > Pádraig Brady wrote on Mon, Jun 03, 2019 at 03:55:51AM +0100: >> * src/stat.c (format_to_mask): Functions that inspect >> memory of pointer arguments must not be declared const. >> Also use the _GL_ATTRIBUTE_PURE defines which will be >> set

Re: [PATCH 3/4] stat: fix up __attribute__ (const) declarations

2019-06-05 Thread Dominique Martinet
Pádraig Brady wrote on Mon, Jun 03, 2019 at 03:55:51AM +0100: > * src/stat.c (format_to_mask): Functions that inspect > memory of pointer arguments must not be declared const. > Also use the _GL_ATTRIBUTE_PURE defines which will be > set appropriately per compiler. > --- > src/stat.c | 4 ++-- >