From 83b1d6414af952ac03022bf956d84a21f6132d0e Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 27 Apr 2011 16:23:45 -0600 Subject: hash, mgetgroups: drop xalloc dependency Rely on the new xalloc-oversized module to avoid requiring xalloc-die for functions documented as returning NULL on potential allocation overflow. * lib/hash.c (includes): Adjust includes. * lib/mgetgroups.c (includes): Likewise. (xgetgroups): Move... * lib/xgetgroups.c: ...to new file. * modules/xgetgroups: New file, split from... * modules/mgetgroups: ...here. (Depends-on): Add xalloc-oversized. * modules/hash (Depends-on): Likewise. * modules/hash-tests (Depends-on): Drop xalloc. (test_hash_LDADD): Drop unused library. * tests/test-hash.c (main): Break xalloc dependency. (includes): Drop unused include. Signed-off-by: Eric Blake --- modules/hash-tests | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/hash-tests') diff --git a/modules/hash-tests b/modules/hash-tests index a77bfe7d68..b3f814b6ec 100644 --- a/modules/hash-tests +++ b/modules/hash-tests @@ -7,11 +7,9 @@ hash-pjw inttostr progname stdbool -xalloc configure.ac: Makefile.am: TESTS += test-hash check_PROGRAMS += test-hash -test_hash_LDADD = $(LDADD) @LIBINTL@ -- cgit v1.2.1