diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2016-10-11 23:06:48 +0900 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2016-10-12 15:43:14 +0200 |
commit | 60b2bf1b08c621492410b24e469b2bdf58d167d5 (patch) | |
tree | 9a9f16d5a686b42469c190a7d3b0bd245344dc48 /lib/Makefile.am | |
parent | 7bf4b63a4980788e6c1969cae02f0483e79c069f (diff) | |
download | elfutils-60b2bf1b08c621492410b24e469b2bdf58d167d5.tar.gz |
lib: Provide MAX and MIN in system.h
This change also creates a new header file libeu.h to provide the
prototypes for the function of libeu. That hides the definition of function
crc32, which can conflict with zlib, from libelf. It also prevents mistakes
to refer those functions from a component which doesn't link with libeu,
such as libelf.
Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 2219eaa4..7ca2bd41 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -37,8 +37,8 @@ libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c \ crc32.c crc32_file.c md5.c sha1.c \ color.c -noinst_HEADERS = fixedsizehash.h system.h dynamicsizehash.h list.h md5.h \ - sha1.h eu-config.h +noinst_HEADERS = fixedsizehash.h libeu.h system.h dynamicsizehash.h list.h \ + md5.h sha1.h eu-config.h EXTRA_DIST = dynamicsizehash.c if !GPROF |