--- a/fontproto.h Tue Feb 24 12:17:35 2015
+++ b/fontproto.h Tue Feb 24 12:21:05 2015
@@ -25,7 +25,7 @@
/* Externally provided functions required by libXfont */
-extern int RegisterFPEFunctions ( NameCheckFunc name_func,
+extern _X_EXPORT int RegisterFPEFunctions ( NameCheckFunc name_func,
InitFpeFunc init_func,
FreeFpeFunc free_func,
ResetFpeFunc reset_func,
@@ -41,15 +41,15 @@
NextLaFunc next_list_alias_func,
SetPathFunc set_path_func);
-extern int GetDefaultPointSize ( void );
+extern _X_EXPORT int GetDefaultPointSize ( void );
-extern int init_fs_handlers ( FontPathElementPtr fpe,
+extern _X_EXPORT int init_fs_handlers ( FontPathElementPtr fpe,
BlockHandlerProcPtr block_handler);
-extern void remove_fs_handlers ( FontPathElementPtr fpe,
+extern _X_EXPORT void remove_fs_handlers ( FontPathElementPtr fpe,
BlockHandlerProcPtr block_handler,
Bool all );
-extern int client_auth_generation ( ClientPtr client );
+extern _X_EXPORT int client_auth_generation ( ClientPtr client );
#ifndef ___CLIENTSIGNAL_DEFINED___
#define ___CLIENTSIGNAL_DEFINED___
@@ -56,11 +56,11 @@
extern Bool ClientSignal ( ClientPtr client );
#endif /* ___CLIENTSIGNAL_DEFINED___ */
-extern void DeleteFontClientID ( Font id );
-extern Font GetNewFontClientID ( void );
-extern int StoreFontClientFont ( FontPtr pfont, Font id );
-extern void FontFileRegisterFpeFunctions ( void );
-extern void FontFileCheckRegisterFpeFunctions ( void );
+extern _X_EXPORT void DeleteFontClientID ( Font id );
+extern _X_EXPORT Font GetNewFontClientID ( void );
+extern _X_EXPORT int StoreFontClientFont ( FontPtr pfont, Font id );
+extern _X_EXPORT void FontFileRegisterFpeFunctions ( void );
+extern _X_EXPORT void FontFileCheckRegisterFpeFunctions ( void );
extern Bool XpClientIsBitmapClient ( ClientPtr client );
extern Bool XpClientIsPrintClient( ClientPtr client, FontPathElementPtr fpe );
--- a/font.h Tue Feb 24 12:17:27 2015
+++ b/font.h Tue Feb 24 12:18:47 2015
@@ -24,6 +24,8 @@
#ifndef FONT_H
#define FONT_H
+#include <X11/Xfuncproto.h>
+
#ifndef BitmapFormatByteOrderMask
#include "fsmasks.h"
#endif
@@ -144,7 +146,7 @@
int /* patlen */,
FontPtr /* pFont */
);
-extern FontResolutionPtr GetClientResolutions(
+extern _X_EXPORT FontResolutionPtr GetClientResolutions(
int * /* num */
);