xfree86: drop ifdefs on _NO_XF86_PROTOTYPES
Nothing ever sets this symbol, so can be dropped. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
8ad3c256d7
commit
984453ad4f
|
@ -93,9 +93,6 @@ extern _X_EXPORT Bool xf86DRI2Enabled(void);
|
||||||
static inline _X_DEPRECATED int xf86BlockSIGIO(void) { input_lock(); return 0; }
|
static inline _X_DEPRECATED int xf86BlockSIGIO(void) { input_lock(); return 0; }
|
||||||
static inline _X_DEPRECATED void xf86UnblockSIGIO(int wasset) { input_unlock(); }
|
static inline _X_DEPRECATED void xf86UnblockSIGIO(int wasset) { input_unlock(); }
|
||||||
|
|
||||||
/* Function Prototypes */
|
|
||||||
#ifndef _NO_XF86_PROTOTYPES
|
|
||||||
|
|
||||||
/* PCI related */
|
/* PCI related */
|
||||||
#ifdef XSERVER_LIBPCIACCESS
|
#ifdef XSERVER_LIBPCIACCESS
|
||||||
#include <pciaccess.h>
|
#include <pciaccess.h>
|
||||||
|
@ -381,8 +378,6 @@ extern _X_EXPORT ScrnInfoPtr xf86ScreenToScrn(ScreenPtr pScreen);
|
||||||
/* convert ScrnInfoPtr to ScreenPtr */
|
/* convert ScrnInfoPtr to ScreenPtr */
|
||||||
extern _X_EXPORT ScreenPtr xf86ScrnToScreen(ScrnInfoPtr pScrn);
|
extern _X_EXPORT ScreenPtr xf86ScrnToScreen(ScrnInfoPtr pScrn);
|
||||||
|
|
||||||
#endif /* _NO_XF86_PROTOTYPES */
|
|
||||||
|
|
||||||
#define XF86_HAS_SCRN_CONV 1 /* define for drivers to use in api compat */
|
#define XF86_HAS_SCRN_CONV 1 /* define for drivers to use in api compat */
|
||||||
|
|
||||||
#define XF86_SCRN_INTERFACE 1 /* define for drivers to use in api compat */
|
#define XF86_SCRN_INTERFACE 1 /* define for drivers to use in api compat */
|
||||||
|
|
|
@ -104,9 +104,6 @@ extern _X_EXPORT int xf86DRMMasterFd; /* Command line argument for
|
||||||
#define DEFAULT_DPI 96
|
#define DEFAULT_DPI 96
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Function Prototypes */
|
|
||||||
#ifndef _NO_XF86_PROTOTYPES
|
|
||||||
|
|
||||||
/* xf86Bus.c */
|
/* xf86Bus.c */
|
||||||
extern _X_EXPORT Bool xf86BusConfig(void);
|
extern _X_EXPORT Bool xf86BusConfig(void);
|
||||||
extern _X_EXPORT void xf86BusProbe(void);
|
extern _X_EXPORT void xf86BusProbe(void);
|
||||||
|
@ -157,6 +154,4 @@ xf86CallDriverProbe(struct _DriverRec *drv, Bool detect_only);
|
||||||
extern _X_EXPORT Bool
|
extern _X_EXPORT Bool
|
||||||
xf86HasTTYs(void);
|
xf86HasTTYs(void);
|
||||||
|
|
||||||
#endif /* _NO_XF86_PROTOTYPES */
|
|
||||||
|
|
||||||
#endif /* _XF86PRIV_H */
|
#endif /* _XF86PRIV_H */
|
||||||
|
|
Loading…
Reference in New Issue