summaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2015-02-07 11:36:08 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2015-02-07 11:50:29 -0800
commitf900146aa6d6b67ad5e15436201ce81a874a29a7 (patch)
tree90409b0cc24a2658d790e40d8a0979fa3752407c /font.h
parentdf8c05f7c0253a36589d96efa52938215eff9d4d (diff)
downloadxorg-proto-fontsproto-f900146aa6d6b67ad5e15436201ce81a874a29a7.tar.gz
Explictly mark as _X_EXPORT functions that callers must export to libXfont
Fixes Solaris Studio errors building xserver with -xldscope=hidden: "dixfonts.c", line 1840: redeclaration must have the same or more restrictive linker scoping: GetDefaultPointSize "dixfonts.c", line 1847: redeclaration must have the same or more restrictive linker scoping: GetClientResolutions "dixfonts.c", line 1893: redeclaration must have the same or more restrictive linker scoping: RegisterFPEFunctions "dixfonts.c", line 1952: redeclaration must have the same or more restrictive linker scoping: GetNewFontClientID "dixfonts.c", line 1959: redeclaration must have the same or more restrictive linker scoping: StoreFontClientFont "dixfonts.c", line 1966: redeclaration must have the same or more restrictive linker scoping: DeleteFontClientID "dixfonts.c", line 1973: redeclaration must have the same or more restrictive linker scoping: client_auth_generation "dixfonts.c", line 1983: redeclaration must have the same or more restrictive linker scoping: init_fs_handlers "dixfonts.c", line 2003: redeclaration must have the same or more restrictive linker scoping: remove_fs_handlers Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'font.h')
-rw-r--r--font.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/font.h b/font.h
index a834655..b596ba2 100644
--- a/font.h
+++ b/font.h
@@ -24,6 +24,8 @@ SOFTWARE.
#ifndef FONT_H
#define FONT_H
+#include <X11/Xfuncproto.h>
+
#ifndef BitmapFormatByteOrderMask
#include "fsmasks.h"
#endif
@@ -144,7 +146,7 @@ extern void CacheFontPattern (
int /* patlen */,
FontPtr /* pFont */
);
-extern FontResolutionPtr GetClientResolutions(
+extern _X_EXPORT FontResolutionPtr GetClientResolutions(
int * /* num */
);