View | Details | Raw Unified
Collapse All | Expand All

(-) programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c (+17 lines)
 Lines 99-104   GetKbdLeds(InputInfoPtr pInfo) Link Here 
#include <asm/kbio.h>
#include <asm/kbio.h>
#endif
#endif
/* Deal with spurious kernel header change */
#include <linux/version.h>
#if defined(LINUX_VERSION_CODE) && defined(KERNEL_VERSION)
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,42)
#  define rate period
# endif
#endif
static int
static int
KDKBDREP_ioctl_ok(int rate, int delay) {
KDKBDREP_ioctl_ok(int rate, int delay) {
#if defined(KDKBDREP) && !defined(__sparc__)
#if defined(KDKBDREP) && !defined(__sparc__)
 Lines 160-165   KIOCSRATE_ioctl_ok(int rate, int delay) Link Here 
#endif /* KIOCSRATE */
#endif /* KIOCSRATE */
}
}
/* Deal with spurious kernel header change */
#include <linux/version.h>
#if defined(LINUX_VERSION_CODE) && defined(KERNEL_VERSION)
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,42)
#  undef rate
# endif
#endif
static void
static void
SetKbdRepeat(InputInfoPtr pInfo, char rad)
SetKbdRepeat(InputInfoPtr pInfo, char rad)
{
{
 Lines 73-78   xf86GetKbdLeds() Link Here 
#endif
#endif
/* Deal with spurious kernel header change */
/* Deal with spurious kernel header change */
#include <linux/version.h>
#if defined(LINUX_VERSION_CODE) && defined(KERNEL_VERSION)
#if defined(LINUX_VERSION_CODE) && defined(KERNEL_VERSION)
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,42)
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,42)
#  define rate period
#  define rate period