static inline wine_get_fs etc

Alexandre Julliard julliard at
Thu Aug 10 05:53:58 CDT 2006

Tijl Coosemans <tijl at> 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.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list