os: unexport set_font_authorizations()

This function is only used by DIX, so no need to export it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-28 17:57:09 +01:00 committed by Alan Coopersmith
parent 389b528203
commit cbc9f557e5
4 changed files with 8 additions and 4 deletions

View File

@ -55,6 +55,9 @@ Equipment Corporation.
#include <X11/X.h> #include <X11/X.h>
#include <X11/Xmd.h> #include <X11/Xmd.h>
#include <X11/Xproto.h> #include <X11/Xproto.h>
#include "os/auth.h"
#include "scrnintstr.h" #include "scrnintstr.h"
#include "resource.h" #include "resource.h"
#include "dixstruct.h" #include "dixstruct.h"

View File

@ -200,10 +200,6 @@ extern _X_EXPORT void FreeScreenSaverTimer(void);
extern _X_EXPORT void GiveUp(int /*sig */ ); extern _X_EXPORT void GiveUp(int /*sig */ );
extern _X_EXPORT int set_font_authorizations(char **authorizations,
int *authlen,
void *client);
/* /*
* This function malloc(3)s buffer, terminating the server if there is not * This function malloc(3)s buffer, terminating the server if there is not
* enough memory. * enough memory.

View File

@ -26,4 +26,8 @@ typedef int (*AuthRemCFunc) (AuthRemCArgs);
#define AuthRstCArgs void #define AuthRstCArgs void
typedef int (*AuthRstCFunc) (AuthRstCArgs); typedef int (*AuthRstCFunc) (AuthRstCArgs);
int set_font_authorizations(char **authorizations,
int *authlen,
void *client);
#endif /* _XSERVER_OS_AUTH_H */ #endif /* _XSERVER_OS_AUTH_H */

View File

@ -107,6 +107,7 @@ __stdcall unsigned long GetTickCount(void);
#endif #endif
#include "dix/dix_priv.h" #include "dix/dix_priv.h"
#include "os/auth.h"
#include "os/cmdline.h" #include "os/cmdline.h"
#include "dixstruct.h" #include "dixstruct.h"