diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2015-08-31 08:18:59 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-09-01 20:11:26 -0700 |
commit | c74c074d8e4981eb4509e120e14d15387bdc94ef (patch) | |
tree | 218659ebfa57dbc4388bbd08313ce165e36fd177 | |
parent | dbfed3a291619c2530f314394bd73d71e2567e78 (diff) |
dix: export ResourceClientBits()
ResourceClientBits() might be used by the modules as well, need to
mark the symbol as visible to that the linker can resolve it at
run time.
/usr/bin/X: symbol lookup error:
/usr/lib64/xorg/modules/extensions/libglx.so: undefined symbol:
ResourceClientBits
bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91763
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | include/resource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/resource.h b/include/resource.h index 597f7b63c..5871a4cb4 100644 --- a/include/resource.h +++ b/include/resource.h @@ -85,7 +85,7 @@ typedef uint32_t RESTYPE; #define RT_LASTPREDEF ((RESTYPE)9) #define RT_NONE ((RESTYPE)0) -extern unsigned int ResourceClientBits(void); +extern _X_EXPORT unsigned int ResourceClientBits(void); /* bits and fields within a resource id */ #define RESOURCE_AND_CLIENT_COUNT 29 /* 29 bits for XIDs */ #define RESOURCE_CLIENT_BITS ResourceClientBits() /* client field offset */ |