summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-04-04 04:08:29 +0000
committerDave Airlie <airlied@linux.ie>2005-04-04 04:08:29 +0000
commita0454aba714ba0314b85faad2801f7b047fa3b02 (patch)
tree45d04084320c74695411eb2c42e54df9f502a972 /libdrm
parentcb5f6c22b5a0190c845029a772a2eb2a3faa5d1c (diff)
mirror changes made in main tree.. just happened to be doing this myself
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 251bbcea..e79794b3 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -62,8 +62,6 @@
# ifdef DRM_USE_MALLOC
# define _DRM_MALLOC malloc
# define _DRM_FREE free
-extern int xf86InstallSIGIOHandler(int fd, void (*f)(int, void *), void *);
-extern int xf86RemoveSIGIOHandler(int fd);
# else
# include <X11/Xlibint.h>
# define _DRM_MALLOC Xmalloc
@@ -2264,7 +2262,7 @@ int drmCommandWriteRead(int fd, unsigned long drmCommandIndex,
return 0;
}
-#if defined(XFree86Server) || defined(DRM_USE_MALLOC)
+#if defined(XFree86Server)
static void drmSIGIOHandler(int interrupt, void *closure)
{
unsigned long key;