diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-06 01:33:40 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-06 01:33:40 +0100 |
commit | c4cb76bb13d01eaa93ee77ba5b490f5d1a991155 (patch) | |
tree | 6e10d26284fe8320e91976e825fb2d83c58286df /libihash/Makefile | |
parent | a7c7e4c642aa284cb57a855ea94bab90cc2dae3e (diff) | |
download | hurd-c4cb76bb13d01eaa93ee77ba5b490f5d1a991155.tar.gz hurd-c4cb76bb13d01eaa93ee77ba5b490f5d1a991155.tar.bz2 hurd-c4cb76bb13d01eaa93ee77ba5b490f5d1a991155.zip |
libihash: Make sure we do not remove a locp several times
Suggested by Brent W. Baccala.
* libihash/ihash.c: Include <assert-backtrace.h>.
(locp_remove): Assert that item->value is valid.
* libihash/Makefile (HURDLIBS): Add shouldbeinlibc.
Diffstat (limited to 'libihash/Makefile')
-rw-r--r-- | libihash/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libihash/Makefile b/libihash/Makefile index 3377ef41..7ceaf1d7 100644 --- a/libihash/Makefile +++ b/libihash/Makefile @@ -23,6 +23,7 @@ libname := libihash SRCS = ihash.c murmur3.c installhdrs = ihash.h +HURDLIBS = shouldbeinlibc OBJS = $(SRCS:.c=.o) include ../Makeconf |