Re: [PATCH 5/6] Implement fallback for explicit_bzero using jump to volatile pointer

2020-04-13 Thread Bruno Haible
Hi Bastien, > +#else > + static void * (* const volatile volatile_memset)(void *, int, size_t) = > memset; As I said, a non-static pointer should work as well. > + (void) volatile_memset1(s, '\0', len); Space before paren. (Coding style.) Bruno

[PATCH 5/6] Implement fallback for explicit_bzero using jump to volatile pointer

2020-04-12 Thread roucaries . bastien
From: Bastien Roucariès Signed-off-by: Bastien Roucariès --- lib/explicit_bzero.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/explicit_bzero.c b/lib/explicit_bzero.c index bb52d11de..03968acbf 100644 --- a/lib/explicit_bzero.c +++ b/lib/explicit_bzero.c @@ -54,