mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
(submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h
Make it clear that stuff from this file really isn't supposed to be used by dynamically loaded modules like drivers. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
27
os/ddx.h
27
os/ddx.h
@@ -1,27 +0,0 @@
|
||||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
*/
|
||||
#ifndef _XSERVER_OS_DDX_H
|
||||
#define _XSERVER_OS_DDX_H
|
||||
|
||||
#include "os.h"
|
||||
|
||||
/* callbacks of the DDX, which are called by DIX or OS layer.
|
||||
DDX's need to implement these in order to handle DDX specific things.
|
||||
*/
|
||||
|
||||
/* called before server reset */
|
||||
void ddxBeforeReset(void);
|
||||
|
||||
/* called by ProcessCommandLine, so DDX can catch cmdline args */
|
||||
int ddxProcessArgument(int argc, char *argv[], int i);
|
||||
|
||||
/* print DDX specific usage message */
|
||||
void ddxUseMsg(void);
|
||||
|
||||
void ddxGiveUp(enum ExitCode error);
|
||||
|
||||
void ddxInputThreadInit(void);
|
||||
|
||||
#endif /* _XSERVER_OS_DDX_H */
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "os/ddx_priv.h"
|
||||
#include "dix/input_priv.h"
|
||||
#include "os/ddx_priv.h"
|
||||
|
||||
|
||||
1
os/log.c
1
os/log.c
@@ -97,7 +97,6 @@ OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#include "os/osdep.h"
|
||||
|
||||
#include "opaque.h"
|
||||
#include "ddx.h"
|
||||
|
||||
#ifdef XF86BIGFONT
|
||||
#include "xf86bigfontsrv.h"
|
||||
|
||||
@@ -118,7 +118,6 @@ __stdcall unsigned long GetTickCount(void);
|
||||
#include "dixstruct.h"
|
||||
#include "picture.h"
|
||||
#include "miinitext.h"
|
||||
#include "ddx.h"
|
||||
#include "present.h"
|
||||
#include "dixstruct_priv.h"
|
||||
#include "dpmsproc.h"
|
||||
|
||||
Reference in New Issue
Block a user