(submit/miext-extinit) present: unexport present_extension_init()

It's not called by drivers/modules, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-28 19:12:08 +02:00
parent b27071b35f
commit b3790a0c26
6 changed files with 3 additions and 35 deletions

View File

@ -88,8 +88,4 @@ extern _X_EXPORT Bool noSELinuxExtension;
extern _X_EXPORT Bool noXvExtension;
#endif
#if defined(PRESENT)
#include "presentext.h"
#endif
#endif

View File

@ -47,5 +47,6 @@ void XvExtensionInit(void);
void XvMCExtensionInit(void);
void dri3_extension_init(void);
void PseudoramiXExtensionInit(void);
void present_extension_init(void);
#endif /* _XSERVER_EXTINIT_PRIV_H */

View File

@ -13,7 +13,6 @@ srcs_present = [
hdrs_present = [
'present.h',
'presentext.h',
]
libxserver_present = static_library('libxserver_present',

View File

@ -25,7 +25,6 @@
#include <X11/extensions/presentproto.h>
#include "randrstr.h"
#include "presentext.h"
typedef enum {
PRESENT_FLIP_REASON_UNKNOWN,

View File

@ -22,6 +22,8 @@
#include "present_priv.h"
#include "extinit_priv.h"
int present_request;
DevPrivateKeyRec present_screen_private_key;
DevPrivateKeyRec present_window_private_key;

View File

@ -1,29 +0,0 @@
/*
* Copyright © 2013 Keith Packard
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that copyright
* notice and this permission notice appear in supporting documentation, and
* that the name of the copyright holders not be used in advertising or
* publicity pertaining to distribution of the software without specific,
* written prior permission. The copyright holders make no representations
* about the suitability of this software for any purpose. It is provided "as
* is" without express or implied warranty.
*
* THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
* EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THIS SOFTWARE.
*/
#ifndef _PRESENTEXT_H_
#define _PRESENTEXT_H_
extern _X_EXPORT void
present_extension_init(void);
#endif /* _PRESENTEXT_H_ */