mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 15:00:09 +00:00
os: move enum ExitCode into private header
Not used by any external drivers, so no need to keep it public. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
678b025df5
commit
5cdfe6e5ab
@@ -5,6 +5,7 @@
|
||||
#ifndef _XSERVER_XF86_PRIV_H
|
||||
#define _XSERVER_XF86_PRIV_H
|
||||
|
||||
#include "os/osdep.h"
|
||||
#include "xf86.h"
|
||||
|
||||
extern Bool xf86DoConfigure;
|
||||
|
||||
@@ -215,13 +215,6 @@ typedef struct {
|
||||
/* stuff for FlushCallback */
|
||||
extern _X_EXPORT CallbackListPtr FlushCallback;
|
||||
|
||||
enum ExitCode {
|
||||
EXIT_NO_ERROR = 0,
|
||||
EXIT_ERR_ABORT = 1,
|
||||
EXIT_ERR_CONFIGURE = 2,
|
||||
EXIT_ERR_DRIVERS = 3,
|
||||
};
|
||||
|
||||
extern _X_EXPORT int
|
||||
TimeSinceLastInputEvent(void);
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
#ifndef _XSERVER_OS_DDX_PRIV_H
|
||||
#define _XSERVER_OS_DDX_PRIV_H
|
||||
|
||||
#include "os.h"
|
||||
#include "include/os.h"
|
||||
#include "os/osdep.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.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#ifndef __XORG_OS_LOGGING_H
|
||||
#define __XORG_OS_LOGGING_H
|
||||
|
||||
#include "include/os.h"
|
||||
#include "os/osdep.h"
|
||||
|
||||
/**
|
||||
* @brief initialize logging and open log files
|
||||
|
||||
@@ -234,4 +234,11 @@ static inline size_t x_safe_strlen(const char *str) {
|
||||
return (str ? strlen(str) : 0);
|
||||
}
|
||||
|
||||
enum ExitCode {
|
||||
EXIT_NO_ERROR = 0,
|
||||
EXIT_ERR_ABORT = 1,
|
||||
EXIT_ERR_CONFIGURE = 2,
|
||||
EXIT_ERR_DRIVERS = 3,
|
||||
};
|
||||
|
||||
#endif /* _OSDEP_H_ */
|
||||
|
||||
Reference in New Issue
Block a user