diff options
author | Keith Whitwell <[email protected]> | 2005-03-22 13:34:27 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-03-22 13:34:27 +0000 |
commit | 59b4b7e07e1374d63eede85c93665e4630a359b1 (patch) | |
tree | 567136f1e9cc3bb45d79fd4954faa16d0d8c5c1b /src/mesa/drivers/dri/dri_client | |
parent | 46d50d9e8ed5b060ef1591bf4b172de6d692cc9d (diff) |
Remove test for defined(DRM_USE_MALLOC) around definition of
drmSIGIOHandler().
Diffstat (limited to 'src/mesa/drivers/dri/dri_client')
-rw-r--r-- | src/mesa/drivers/dri/dri_client/xf86drm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/dri_client/xf86drm.c b/src/mesa/drivers/dri/dri_client/xf86drm.c index 2b0b1b9cc4f..dba0f98deba 100644 --- a/src/mesa/drivers/dri/dri_client/xf86drm.c +++ b/src/mesa/drivers/dri/dri_client/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 @@ -2268,7 +2266,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; |