Annotation of libaitio/src/mem.c, revision 1.1.2.1
1.1.2.1 ! misho 1: #include "global.h"
! 2:
! 3:
! 4: io_mpool_t *
! 5: io_mpoolInit()
! 6: {
! 7: }
! 8:
! 9: void
! 10: io_mpoolDestroy(io_mpool_t ** __restrict mp)
! 11: {
! 12: }
! 13:
! 14: /* ----------------------------------------------------------- */
! 15:
! 16: void *
! 17: io_malloc(u_int size, const char *memname)
! 18: {
! 19: uint32_t *p;
! 20:
! 21: size = (size + 3) & ~3;
! 22: p = malloc(sz + 12);
! 23:
! 24: return (void*) (p + 2);
! 25: }
! 26:
! 27: void
! 28: io_free(void * __restrict mem)
! 29: {
! 30: free(mem);
! 31: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>