summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-07-08 19:36:59 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-07-08 19:36:59 +0000
commit7ff62f27543d48fe91cd7c046e342fd39149d32a (patch)
tree6cffddfe4ad261343f6055c7488913a0170ab7f2 /sys/dev/pci/drm
parent8e8c0b015dcfff4aa0b57ff2c3a1e972b0bc1326 (diff)
Remove duplicate typedesf that are now provided by linux_types.h.
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/drm.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/pci/drm/drm.h b/sys/dev/pci/drm/drm.h
index a80f178d9a9..3cce27c10ba 100644
--- a/sys/dev/pci/drm/drm.h
+++ b/sys/dev/pci/drm/drm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: drm.h,v 1.23 2017/07/01 16:00:25 kettenis Exp $ */
+/* $OpenBSD: drm.h,v 1.24 2017/07/08 19:36:58 kettenis Exp $ */
/**
* \file drm.h
* Header for the Direct Rendering Manager
@@ -49,14 +49,7 @@
#include <sys/ioccom.h>
#include <sys/types.h>
-typedef int8_t __s8;
-typedef uint8_t __u8;
-typedef int16_t __s16;
-typedef uint16_t __u16;
-typedef int32_t __s32;
-typedef uint32_t __u32;
-typedef int64_t __s64;
-typedef uint64_t __u64;
+
typedef unsigned long drm_handle_t;
#define DRM_IOCTL_NR(n) ((n) & 0xff)