aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-08-07 16:13:32 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-09-21 17:59:45 +0100
commitf3c6740f0c27d98d16340396f1a15e10384f9284 (patch)
tree5048dcf3261e2ade84fb586d2e829ef3332eeea5
parentdf21b293e9cf550ec8d6a3e49461350dbdf14260 (diff)
xf86drm: remove makedev() hack/workaround
Back when this was introduced commit 569da5a42eb(Merged glxmisc-3-0-0) sys/sysmacros.h was used instead of the respecive headers (as per the manual). We've been handling it correctly for a little while now - in Linux, BSD and Solaris. Thus we can drop this workaround. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--xf86drm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 789bfc24..a9f5c294 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -98,14 +98,6 @@
#define DRM_MAJOR 226 /* Linux */
#endif
-/*
- * This definition needs to be changed on some systems if dev_t is a structure.
- * If there is a header file we can get it from, there would be best.
- */
-#ifndef makedev
-#define makedev(x,y) ((dev_t)(((x) << 8) | (y)))
-#endif
-
#define DRM_MSG_VERBOSITY 3
#define memclear(s) memset(&s, 0, sizeof(s))