aboutsummaryrefslogtreecommitdiff
path: root/tests/drmstat.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-10-10 00:09:31 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-10-10 00:09:31 +0000
commitb5e02f8eb3b9c178014e510e5999fab671031a6c (patch)
tree1890a552543a1f4dd3df75c2806634536384f11a /tests/drmstat.c
parent8727326371621c8c2b9f794532ca543a708ed71f (diff)
Make the test programs build
Diffstat (limited to 'tests/drmstat.c')
-rw-r--r--tests/drmstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/drmstat.c b/tests/drmstat.c
index 9503fda9..ed2aeb61 100644
--- a/tests/drmstat.c
+++ b/tests/drmstat.c
@@ -85,7 +85,7 @@ void process_sigio(char *device)
}
sigio_fd = fd;
- drmInstallSIGIOHandler(fd, handler);
+ /* drmInstallSIGIOHandler(fd, handler); */
for (;;) sleep(60);
}
@@ -94,13 +94,13 @@ int main(int argc, char **argv)
int c;
int r = 0;
int fd = -1;
- drmHandle handle;
+ drm_handle_t handle;
void *address;
char *pt;
unsigned long count;
unsigned long offset;
unsigned long size;
- drmContext context;
+ drm_context_t context;
int loops;
char buf[1024];
int i;