summaryrefslogtreecommitdiff
path: root/hw/xfree86/parser/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/parser/scan.c')
-rw-r--r--hw/xfree86/parser/scan.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/hw/xfree86/parser/scan.c b/hw/xfree86/parser/scan.c
index 4d7508773..7a9bb9305 100644
--- a/hw/xfree86/parser/scan.c
+++ b/hw/xfree86/parser/scan.c
@@ -522,7 +522,7 @@ xf86tokenString (void)
return configRBuf;
}
-_X_EXPORT int
+int
xf86pathIsAbsolute(const char *path)
{
if (path && path[0] == '/')
@@ -531,7 +531,7 @@ xf86pathIsAbsolute(const char *path)
}
/* A path is "safe" if it is relative and if it contains no ".." elements. */
-_X_EXPORT int
+int
xf86pathIsSafe(const char *path)
{
if (xf86pathIsAbsolute(path))
@@ -777,7 +777,7 @@ DoSubstitution(const char *template, const char *cmdline, const char *projroot,
"%P/lib/X11/%X"
#endif
-_X_EXPORT const char *
+const char *
xf86openConfigFile(const char *path, const char *cmdline, const char *projroot)
{
char *pathcopy;
@@ -854,7 +854,7 @@ xf86openConfigFile(const char *path, const char *cmdline, const char *projroot)
return configPath;
}
-_X_EXPORT void
+void
xf86closeConfigFile (void)
{
xf86conffree (configPath);
@@ -873,7 +873,7 @@ xf86closeConfigFile (void)
}
}
-_X_EXPORT void
+void
xf86setBuiltinConfig(const char *config[])
{
builtinConfig = config;
@@ -948,7 +948,7 @@ StringToToken (char *str, xf86ConfigSymTabRec * tab)
* Compare two names. The characters '_', ' ', and '\t' are ignored
* in the comparison.
*/
-_X_EXPORT int
+int
xf86nameCompare (const char *s1, const char *s2)
{
char c1, c2;
@@ -982,7 +982,7 @@ xf86nameCompare (const char *s1, const char *s2)
return (c1 - c2);
}
-_X_EXPORT char *
+char *
xf86addComment(char *cur, char *add)
{
char *str;