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:
parent
ec7719dceb
commit
0ccb78b096
|
@ -65,8 +65,4 @@ extern _X_EXPORT Bool noPanoramiXExtension;
|
||||||
extern _X_EXPORT Bool noXvExtension;
|
extern _X_EXPORT Bool noXvExtension;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PRESENT)
|
|
||||||
#include "presentext.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -52,5 +52,6 @@ void XvExtensionInit(void);
|
||||||
void XvMCExtensionInit(void);
|
void XvMCExtensionInit(void);
|
||||||
void dri3_extension_init(void);
|
void dri3_extension_init(void);
|
||||||
void PseudoramiXExtensionInit(void);
|
void PseudoramiXExtensionInit(void);
|
||||||
|
void present_extension_init(void);
|
||||||
|
|
||||||
#endif /* _XSERVER_EXTINIT_PRIV_H */
|
#endif /* _XSERVER_EXTINIT_PRIV_H */
|
||||||
|
|
|
@ -13,7 +13,6 @@ srcs_present = [
|
||||||
|
|
||||||
hdrs_present = [
|
hdrs_present = [
|
||||||
'present.h',
|
'present.h',
|
||||||
'presentext.h',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
libxserver_present = static_library('libxserver_present',
|
libxserver_present = static_library('libxserver_present',
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#include <X11/extensions/presentproto.h>
|
#include <X11/extensions/presentproto.h>
|
||||||
|
|
||||||
#include "randrstr.h"
|
#include "randrstr.h"
|
||||||
#include "presentext.h"
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
PRESENT_FLIP_REASON_UNKNOWN,
|
PRESENT_FLIP_REASON_UNKNOWN,
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
#include "present_priv.h"
|
#include "present_priv.h"
|
||||||
|
|
||||||
|
#include "extinit_priv.h"
|
||||||
|
|
||||||
int present_request;
|
int present_request;
|
||||||
DevPrivateKeyRec present_screen_private_key;
|
DevPrivateKeyRec present_screen_private_key;
|
||||||
DevPrivateKeyRec present_window_private_key;
|
DevPrivateKeyRec present_window_private_key;
|
||||||
|
|
|
@ -1,30 +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_
|
|
||||||
|
|
||||||
#include <X11/Xfuncproto.h>
|
|
||||||
|
|
||||||
_X_EXPORT void present_extension_init(void);
|
|
||||||
|
|
||||||
#endif /* _PRESENTEXT_H_ */
|
|
Loading…
Reference in New Issue