From a7aebb6dac3287374721dd2101a4584f12c63c82 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 29 Aug 2003 19:16:13 +0000 Subject: Add DRM(calloc), which is convenient, used by the new sis code, and takes advantage of M_ZERO on BSDs. --- bsd/drmP.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bsd/drmP.h') diff --git a/bsd/drmP.h b/bsd/drmP.h index ff4cd895..9cd41b8d 100644 --- a/bsd/drmP.h +++ b/bsd/drmP.h @@ -401,6 +401,7 @@ extern int DRM(version)( DRM_IOCTL_ARGS ); extern void DRM(mem_init)(void); extern void DRM(mem_uninit)(void); extern void *DRM(alloc)(size_t size, int area); +extern void *DRM(calloc)(size_t nmemb, size_t size, int area); extern void *DRM(realloc)(void *oldpt, size_t oldsize, size_t size, int area); extern void DRM(free)(void *pt, size_t size, int area); -- cgit v1.2.3