From bf18c9b4d8ab7f7e8db272594b5d2c8a8dd06b64 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 27 Apr 2011 15:54:30 -0600 Subject: 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 --- modules/xalloc-oversized | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 modules/xalloc-oversized (limited to 'modules/xalloc-oversized') diff --git a/modules/xalloc-oversized b/modules/xalloc-oversized new file mode 100644 index 0000000000..708c621f30 --- /dev/null +++ b/modules/xalloc-oversized @@ -0,0 +1,20 @@ +Description: +Check for memory allocation overflow. Also see xalloc. + +Files: +lib/xalloc-oversized.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"xalloc-oversized.h" + +License: +GPL + +Maintainer: +all -- cgit v1.2.1