argh headers

This commit is contained in:
Adam Jackson 2007-10-03 15:42:42 +00:00
parent 2155492ba6
commit 5f326a33d6

View File

@ -6,7 +6,7 @@ diff -up xorg-server-1.3.0.0/hw/xfree86/parser/Flags.c.jx xorg-server-1.3.0.0/hw
*/ */
-char * -char *
+_X_EXPORT char * +__attribute__((visibility("default"))) char *
xf86findOptionValue (XF86OptionPtr list, const char *name) xf86findOptionValue (XF86OptionPtr list, const char *name)
{ {
XF86OptionPtr p = xf86findOption (list, name); XF86OptionPtr p = xf86findOption (list, name);
@ -18,7 +18,7 @@ diff -up xorg-server-1.3.0.0/hw/xfree86/parser/scan.c.jx xorg-server-1.3.0.0/hw/
* in the comparison. * in the comparison.
*/ */
-int -int
+_X_EXPORT int +__attribute__((visibility("default"))) int
xf86nameCompare (const char *s1, const char *s2) xf86nameCompare (const char *s1, const char *s2)
{ {
char c1, c2; char c1, c2;