ntdll: Add prototypes to winnt.h for the SList functions.

Alexandre Julliard julliard at winehq.org
Fri Feb 9 06:19:20 CST 2007

Francois Gouget <fgouget at free.fr> writes:

> Fix the implementation to match the official prototypes.
> ---
> I've had trouble with the placement of 'volatile' in 'const 
> SLIST_HEADER* volatile'. I think putting 'volatile' last is correct 
> because it applies to the pointer, not to the pointed-to data like 
> 'const'.

No, it applies to the data, it doesn't make sense to have the pointer
itself be volatile. Though it's probably useless either way, and since
the SDK prototypes apparently don't have it we shouldn't either.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list