mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
xfree86: drivers: common: remove incorrect #ifndef _XORG_CONFIG_H_
These functions are not defined anywhere else and are still necessary in the AMD drivers when using #include <xorg-config.h>
This commit is contained in:
committed by
Enrico Weigelt
parent
dfbf61b998
commit
76b1f47179
@@ -98,8 +98,6 @@ _xf86_get_platform_device_attrib(struct xf86_platform_device *device, int attrib
|
||||
_X_EXPORT int
|
||||
_xf86_get_platform_device_int_attrib(struct xf86_platform_device *device, int attrib, int (*fake)[0]);
|
||||
|
||||
#ifndef _XORG_CONFIG_H_
|
||||
|
||||
/* Protect against a mismatch attribute type by generating a compiler
|
||||
* error using a negative array size when an incorrect attribute is
|
||||
* passed
|
||||
@@ -121,8 +119,6 @@ _xf86_get_platform_device_int_attrib(struct xf86_platform_device *device, int at
|
||||
|
||||
#define xf86_get_platform_device_int_attrib(device, attrib, def) _xf86_get_platform_device_int_attrib(device,attrib,_ODEV_ATTRIB_INT_CHECK(attrib,def))
|
||||
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT Bool
|
||||
xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user