Skip to content

Instantly share code, notes, and snippets.

@jigpu
Created May 20, 2015 20:24
Show Gist options
  • Save jigpu/56d334a087bf066ac706 to your computer and use it in GitHub Desktop.
Save jigpu/56d334a087bf066ac706 to your computer and use it in GitHub Desktop.
diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index 1a5e722..11b5c35 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -341,7 +341,6 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo)
return ret;
}
-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 14
static InputOption*
input_option_new(InputOption *list, char *key, char *value)
{
@@ -367,7 +366,6 @@ input_option_free_list(InputOption **opts)
*opts = tmp;
}
}
-#endif
/**
* Duplicate xf86 options, replace the "type" option with the given type
--
2.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment