dix: unexport extension registry functions
These aren't used by (known) 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
1f5ab6ec28
commit
4ebb02cdda
|
@ -28,6 +28,8 @@ in this Software without prior written authorization from The Open Group.
|
||||||
#include <dix-config.h>
|
#include <dix-config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "dix/registry_priv.h"
|
||||||
|
|
||||||
#include "scrnintstr.h"
|
#include "scrnintstr.h"
|
||||||
#include "inputstr.h"
|
#include "inputstr.h"
|
||||||
#include "windowstr.h"
|
#include "windowstr.h"
|
||||||
|
|
|
@ -101,6 +101,8 @@ Equipment Corporation.
|
||||||
#include <version-config.h>
|
#include <version-config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "dix/registry_priv.h"
|
||||||
|
|
||||||
#include "windowstr.h"
|
#include "windowstr.h"
|
||||||
#include <X11/fonts/fontstruct.h>
|
#include <X11/fonts/fontstruct.h>
|
||||||
#include <X11/fonts/libxfont2.h>
|
#include <X11/fonts/libxfont2.h>
|
||||||
|
|
|
@ -50,6 +50,9 @@ SOFTWARE.
|
||||||
|
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <X11/Xproto.h>
|
#include <X11/Xproto.h>
|
||||||
|
|
||||||
|
#include "dix/registry_priv.h"
|
||||||
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "dixstruct.h"
|
#include "dixstruct.h"
|
||||||
#include "extnsionst.h"
|
#include "extnsionst.h"
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#ifndef _XSERVER_DIX_REGISTRY_H
|
#ifndef _XSERVER_DIX_REGISTRY_H
|
||||||
#define _XSERVER_DIX_REGISTRY_H
|
#define _XSERVER_DIX_REGISTRY_H
|
||||||
|
|
||||||
|
#include "include/extnsionst.h"
|
||||||
#include "include/resource.h"
|
#include "include/resource.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -18,4 +19,14 @@ void dixCloseRegistry(void);
|
||||||
void RegisterResourceName(RESTYPE type, const char *name);
|
void RegisterResourceName(RESTYPE type, const char *name);
|
||||||
const char *LookupResourceName(RESTYPE rtype);
|
const char *LookupResourceName(RESTYPE rtype);
|
||||||
|
|
||||||
|
void RegisterExtensionNames(ExtensionEntry * ext);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Lookup functions. The returned string must not be modified or freed.
|
||||||
|
*/
|
||||||
|
const char *LookupMajorName(int major);
|
||||||
|
const char *LookupRequestName(int major, int minor);
|
||||||
|
const char *LookupEventName(int event);
|
||||||
|
const char *LookupErrorName(int error);
|
||||||
|
|
||||||
#endif /* _XSERVER_DIX_REGISTRY_H */
|
#endif /* _XSERVER_DIX_REGISTRY_H */
|
||||||
|
|
|
@ -20,16 +20,4 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "extnsionst.h"
|
#include "extnsionst.h"
|
||||||
|
|
||||||
#ifdef X_REGISTRY_REQUEST
|
|
||||||
extern _X_EXPORT void RegisterExtensionNames(ExtensionEntry * ext);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Lookup functions. The returned string must not be modified or freed.
|
|
||||||
*/
|
|
||||||
extern _X_EXPORT const char *LookupMajorName(int major);
|
|
||||||
extern _X_EXPORT const char *LookupRequestName(int major, int minor);
|
|
||||||
extern _X_EXPORT const char *LookupEventName(int event);
|
|
||||||
extern _X_EXPORT const char *LookupErrorName(int error);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* DIX_REGISTRY_H */
|
#endif /* DIX_REGISTRY_H */
|
||||||
|
|
Loading…
Reference in New Issue