summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-27 04:33:44 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-27 04:33:44 -0200
commit74e2669103b59d51b24ddc48f378b1d04a3effd4 (patch)
treee7d2bcdc3f338ba5d86a20fde356b768af439f45 /dix
parent87a7fb7438b70d07ebf240c530b8548a01021d48 (diff)
Export symbols also defined in libXfont.
libXfont has stubs for these symbols, so, when compiling with hidden symbols by default, these symbols must be visible in the X Server, or the stubs in libXfont will be used.
Diffstat (limited to 'dix')
-rw-r--r--dix/dixfonts.c20
-rw-r--r--dix/dixutils.c2
2 files changed, 11 insertions, 11 deletions
diff --git a/dix/dixfonts.c b/dix/dixfonts.c
index 416adb352..97352ba2d 100644
--- a/dix/dixfonts.c
+++ b/dix/dixfonts.c
@@ -1915,14 +1915,14 @@ InitFonts (void)
#endif
}
-int
+_X_EXPORT int
GetDefaultPointSize ()
{
return 120;
}
-FontResolutionPtr
+_X_EXPORT FontResolutionPtr
GetClientResolutions (int *num)
{
static struct _FontResolution res;
@@ -1954,7 +1954,7 @@ GetClientResolutions (int *num)
* should be called (only once!) by each type of fpe when initialized
*/
-int
+_X_EXPORT int
RegisterFPEFunctions(NameCheckFunc name_func,
InitFpeFunc init_func,
FreeFpeFunc free_func,
@@ -2020,32 +2020,32 @@ FreeFonts(void)
/* convenience functions for FS interface */
-FontPtr
+_X_EXPORT FontPtr
find_old_font(XID id)
{
return (FontPtr) SecurityLookupIDByType(NullClient, id, RT_NONE,
DixUnknownAccess);
}
-Font
+_X_EXPORT Font
GetNewFontClientID()
{
return FakeClientID(0);
}
-int
+_X_EXPORT int
StoreFontClientFont(FontPtr pfont, Font id)
{
return AddResource(id, RT_NONE, (pointer) pfont);
}
-void
+_X_EXPORT void
DeleteFontClientID(Font id)
{
FreeResource(id, RT_NONE);
}
-int
+_X_EXPORT int
client_auth_generation(ClientPtr client)
{
return 0;
@@ -2054,7 +2054,7 @@ client_auth_generation(ClientPtr client)
static int fs_handlers_installed = 0;
static unsigned int last_server_gen;
-int
+_X_EXPORT int
init_fs_handlers(FontPathElementPtr fpe, BlockHandlerProcPtr block_handler)
{
/* if server has reset, make sure the b&w handlers are reinstalled */
@@ -2072,7 +2072,7 @@ init_fs_handlers(FontPathElementPtr fpe, BlockHandlerProcPtr block_handler)
return Successful;
}
-void
+_X_EXPORT void
remove_fs_handlers(FontPathElementPtr fpe, BlockHandlerProcPtr block_handler, Bool all)
{
if (all) {
diff --git a/dix/dixutils.c b/dix/dixutils.c
index 340564ecd..1dfb34651 100644
--- a/dix/dixutils.c
+++ b/dix/dixutils.c
@@ -614,7 +614,7 @@ ClientSleep (ClientPtr client, ClientSleepProcPtr function, pointer closure)
return TRUE;
}
-Bool
+_X_EXPORT Bool
ClientSignal (ClientPtr client)
{
SleepQueuePtr q;