Tijl Coosemans tijl@ulyssis.org writes:
I'm looking at include/wine/library.h and was wondering why the wine_get_fs/gs/... are declared extern and not static like many other functions in that file. Is there any particular reason I'm not seeing?
It's because they are exported from libwine too.
Their __asm__ block is also missing __volatile__ I believe.
I don't think that's needed, the segment registers can essentially be considered constant in 32-bit code.