diff options
author | marha <marha@users.sourceforge.net> | 2014-09-08 23:42:34 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-09-08 23:46:56 +0200 |
commit | d0f70707dde032e662dbd5bc70df6ac915403abe (patch) | |
tree | 19a595625f8cdedc3662a8638f65451208103dfd /libXfont/src/util/miscutil.c | |
parent | cb346e228aeb500cd61ec86644c034c238332d3b (diff) | |
download | vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.tar.gz vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.tar.bz2 vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.zip |
Updated to libXfont 1.5.0
Diffstat (limited to 'libXfont/src/util/miscutil.c')
-rw-r--r-- | libXfont/src/util/miscutil.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libXfont/src/util/miscutil.c b/libXfont/src/util/miscutil.c index 3d802d2f5..61c9d11d1 100644 --- a/libXfont/src/util/miscutil.c +++ b/libXfont/src/util/miscutil.c @@ -45,14 +45,22 @@ from The Open Group. extern void BuiltinRegisterFpeFunctions(void); -#ifndef NO_WEAK_SYMBOLS /* make sure everything initializes themselves at least once */ weak unsigned long serverGeneration = 1; -#endif + +unsigned long __GetServerGeneration (void); + +unsigned long +__GetServerGeneration (void) +{ + OVERRIDE_DATA(serverGeneration); + return serverGeneration; +} weak void register_fpe_functions (void) { + OVERRIDE_SYMBOL(register_fpe_functions); BuiltinRegisterFpeFunctions(); FontFileRegisterFpeFunctions(); #ifdef XFONT_FC |