Re: [waffle] [PATCH 03/10] waffle: remove restrict keyword from public API

2014-06-05 Thread Chad Versace
On Sat, May 31, 2014 at 03:22:01AM +0100, Emil Velikov wrote: > We should have never defined the restrict keyword in > the waffle.h header. The word is used as a hint to the > compiler to provide optimisations re: pointer aliasing. > > Keep the symbol around, so that the compiler can still > optim

[waffle] [PATCH 03/10] waffle: remove restrict keyword from public API

2014-05-30 Thread Emil Velikov
We should have never defined the restrict keyword in the waffle.h header. The word is used as a hint to the compiler to provide optimisations re: pointer aliasing. Keep the symbol around, so that the compiler can still optimise the library. v2: Move the symbol definition to its user and update th