mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
dix: unexport registry setup/teardown functions
these aren't to be called by modules, thus no need to export them. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1348>
This commit is contained in:
committed by
Marge Bot
parent
c3255fbc1c
commit
36e2cf64c8
@@ -82,6 +82,9 @@ Equipment Corporation.
|
||||
#include <X11/Xos.h> /* for unistd.h */
|
||||
#include <X11/Xproto.h>
|
||||
#include <pixman.h>
|
||||
|
||||
#include "dix/registry_priv.h"
|
||||
|
||||
#include "scrnintstr.h"
|
||||
#include "misc.h"
|
||||
#include "os.h"
|
||||
|
||||
@@ -25,6 +25,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include <string.h>
|
||||
#include <X11/X.h>
|
||||
#include <X11/Xproto.h>
|
||||
|
||||
#include "dix/registry_priv.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "registry.h"
|
||||
|
||||
|
||||
15
dix/registry_priv.h
Normal file
15
dix/registry_priv.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
*/
|
||||
#ifndef _XSERVER_DIX_REGISTRY_H
|
||||
#define _XSERVER_DIX_REGISTRY_H
|
||||
|
||||
/*
|
||||
* Setup and teardown
|
||||
*/
|
||||
void dixResetRegistry(void);
|
||||
void dixFreeRegistry(void);
|
||||
void dixCloseRegistry(void);
|
||||
|
||||
#endif /* _XSERVER_DIX_REGISTRY_H */
|
||||
@@ -40,11 +40,4 @@ extern _X_EXPORT const char *LookupEventName(int event);
|
||||
extern _X_EXPORT const char *LookupErrorName(int error);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Setup and teardown
|
||||
*/
|
||||
extern _X_EXPORT void dixResetRegistry(void);
|
||||
extern _X_EXPORT void dixFreeRegistry(void);
|
||||
extern _X_EXPORT void dixCloseRegistry(void);
|
||||
|
||||
#endif /* DIX_REGISTRY_H */
|
||||
|
||||
Reference in New Issue
Block a user