dix: unexport RegisterResourceName() and LookupResourceName()
These aren't used by external 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:
parent
36e2cf64c8
commit
1f5ab6ec28
|
@ -11,6 +11,9 @@
|
|||
#include <X11/X.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "dix/registry_priv.h"
|
||||
|
||||
#include "misc.h"
|
||||
#include "os.h"
|
||||
#include "dixstruct.h"
|
||||
|
|
|
@ -29,10 +29,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <sys/socket.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <libaudit.h>
|
||||
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
#include "dix/registry_priv.h"
|
||||
|
||||
#include "selection.h"
|
||||
#include "inputstr.h"
|
||||
#include "scrnintstr.h"
|
||||
|
|
|
@ -23,6 +23,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <selinux/label.h>
|
||||
|
||||
#include "dix/registry_priv.h"
|
||||
|
||||
#include "registry.h"
|
||||
#include "xselinuxint.h"
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
#ifndef _XSERVER_DIX_REGISTRY_H
|
||||
#define _XSERVER_DIX_REGISTRY_H
|
||||
|
||||
#include "include/resource.h"
|
||||
|
||||
/*
|
||||
* Setup and teardown
|
||||
*/
|
||||
|
@ -12,4 +14,8 @@ void dixResetRegistry(void);
|
|||
void dixFreeRegistry(void);
|
||||
void dixCloseRegistry(void);
|
||||
|
||||
/* Functions used by the X-Resource extension */
|
||||
void RegisterResourceName(RESTYPE type, const char *name);
|
||||
const char *LookupResourceName(RESTYPE rtype);
|
||||
|
||||
#endif /* _XSERVER_DIX_REGISTRY_H */
|
||||
|
|
|
@ -122,6 +122,9 @@ Equipment Corporation.
|
|||
#endif
|
||||
|
||||
#include <X11/X.h>
|
||||
|
||||
#include "dix/registry_priv.h"
|
||||
|
||||
#include "misc.h"
|
||||
#include "os.h"
|
||||
#include "resource.h"
|
||||
|
|
|
@ -20,14 +20,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include "resource.h"
|
||||
#include "extnsionst.h"
|
||||
|
||||
/* Internal string registry - for auditing, debugging, security, etc. */
|
||||
|
||||
#ifdef X_REGISTRY_RESOURCE
|
||||
/* Functions used by the X-Resource extension */
|
||||
extern _X_EXPORT void RegisterResourceName(RESTYPE type, const char *name);
|
||||
extern _X_EXPORT const char *LookupResourceName(RESTYPE rtype);
|
||||
#endif
|
||||
|
||||
#ifdef X_REGISTRY_REQUEST
|
||||
extern _X_EXPORT void RegisterExtensionNames(ExtensionEntry * ext);
|
||||
|
||||
|
|
Loading…
Reference in New Issue