diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-08-29 19:16:13 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-08-29 19:16:13 +0000 |
commit | a7aebb6dac3287374721dd2101a4584f12c63c82 (patch) | |
tree | 7fa20b6fd3b750d18f0ed5709e2a8458ff4a4ab6 /bsd/drmP.h | |
parent | db781291164dfa10538776748df7af901c6b20a2 (diff) |
Add DRM(calloc), which is convenient, used by the new sis code, and takes
advantage of M_ZERO on BSDs.
Diffstat (limited to 'bsd/drmP.h')
-rw-r--r-- | bsd/drmP.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |