xalloc-oversized: new module
authorEric Blake <eblake@redhat.com>
Wed, 27 Apr 2011 21:54:30 +0000 (15:54 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 28 Apr 2011 20:21:25 +0000 (14:21 -0600)
commitbf18c9b4d8ab7f7e8db272594b5d2c8a8dd06b64
treeea9af0fb6442937d973dc716ce6ee822f247233f
parent7cbc494f7cc150886b741e2af5051685d818f89c
xalloc-oversized: new module

Due to inline functions, mere inclusion of xalloc.h can result
in a link dependency on xalloc_die() on some platforms.  However,
there are several modules that want to use just xalloc_oversized
in order to short-circuit the potential to call xalloc_die.
Splitting the macro into a new header and module makes this easy.

* modules/xalloc-oversized: New module.
* modules/xalloc (Depends-on): Add it.
* lib/xalloc.h (xalloc_oversized): Move...
* lib/xalloc-oversized.h: ...into new file.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/xalloc-oversized.h [new file with mode: 0644]
lib/xalloc.h
modules/xalloc
modules/xalloc-oversized [new file with mode: 0644]