Remove test for defined(DRM_USE_MALLOC) around definition of

drmSIGIOHandler().
This commit is contained in:
Keith Whitwell 2005-03-22 13:34:27 +00:00
parent 46d50d9e8e
commit 59b4b7e07e
1 changed files with 1 additions and 3 deletions

View File

@ -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;