summaryrefslogtreecommitdiff
path: root/dix/extension.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-02-15 20:44:13 +0000
committerAdam Jackson <ajax@nwnk.net>2006-02-15 20:44:13 +0000
commitf105b8da11fcf337512b3c39da3368f98da07a33 (patch)
tree8d2c7b8ee5657f0d630bd50956819d77e2d071a5 /dix/extension.c
parent010d6effa6fa210251b12459882e88aeee82c2c0 (diff)
Mark everything in dixsym.c as _X_EXPORT.
Diffstat (limited to 'dix/extension.c')
-rw-r--r--dix/extension.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/dix/extension.c b/dix/extension.c
index 270d54f9b..3e379d7fe 100644
--- a/dix/extension.c
+++ b/dix/extension.c
@@ -82,7 +82,7 @@ int lastEvent = EXTENSION_EVENT_BASE;
static int lastError = FirstExtensionError;
static unsigned int NumExtensions = 0;
-ExtensionEntry *
+_X_EXPORT ExtensionEntry *
AddExtension(char *name, int NumEvents, int NumErrors,
int (*MainProc)(ClientPtr c1),
int (*SwappedMainProc)(ClientPtr c2),
@@ -160,7 +160,7 @@ AddExtension(char *name, int NumEvents, int NumErrors,
return(ext);
}
-Bool AddExtensionAlias(char *alias, ExtensionEntry *ext)
+_X_EXPORT Bool AddExtensionAlias(char *alias, ExtensionEntry *ext)
{
char *name;
char **aliases;
@@ -208,7 +208,7 @@ FindExtension(char *extname, int len)
* CheckExtension returns the extensions[] entry for the requested
* extension name. Maybe this could just return a Bool instead?
*/
-ExtensionEntry *
+_X_EXPORT ExtensionEntry *
CheckExtension(const char *extname)
{
int n;
@@ -220,7 +220,7 @@ CheckExtension(const char *extname)
return NULL;
}
-void
+_X_EXPORT void
DeclareExtensionSecurity(char *extname, Bool secure)
{
#ifdef XCSECURITY
@@ -246,13 +246,13 @@ DeclareExtensionSecurity(char *extname, Bool secure)
#endif
}
-unsigned short
+_X_EXPORT unsigned short
StandardMinorOpcode(ClientPtr client)
{
return ((xReq *)client->requestBuffer)->data;
}
-unsigned short
+_X_EXPORT unsigned short
MinorOpcodeOfRequest(ClientPtr client)
{
unsigned char major;