lib: Provide MAX and MIN in system.h
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Tue, 11 Oct 2016 14:06:48 +0000 (23:06 +0900)
committerMark Wielaard <mjw@redhat.com>
Wed, 12 Oct 2016 13:43:14 +0000 (15:43 +0200)
commit60b2bf1b08c621492410b24e469b2bdf58d167d5
tree9a9f16d5a686b42469c190a7d3b0bd245344dc48
parent7bf4b63a4980788e6c1969cae02f0483e79c069f
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>
46 files changed:
lib/ChangeLog
lib/Makefile.am
lib/color.c
lib/crc32_file.c
lib/fixedsizehash.h
lib/libeu.h [new file with mode: 0644]
lib/system.h
lib/xstrdup.c
lib/xstrndup.c
libasm/ChangeLog
libasm/asm_align.c
libcpu/ChangeLog
libcpu/i386_disasm.c
libcpu/i386_lex.l
libcpu/i386_parse.y
libdw/ChangeLog
libdw/dwarf_getpubnames.c
libdw/libdw_alloc.c
libdwelf/ChangeLog
libdwelf/dwelf_strtab.c
libdwfl/ChangeLog
libdwfl/core-file.c
libdwfl/dwfl_segment_report_module.c
libdwfl/frame_unwind.c
libdwfl/linux-core-attach.c
libdwfl/linux-pid-attach.c
libelf/ChangeLog
libelf/elf32_updatefile.c
libelf/elf32_updatenull.c
libelf/elf_begin.c
libelf/elf_compress.c
src/ChangeLog
src/arlib.c
src/arlib2.c
src/elfcompress.c
src/elflint.c
src/nm.c
src/objdump.c
src/ranlib.c
src/readelf.c
src/size.c
src/strings.c
src/strip.c
src/unstrip.c
tests/ChangeLog
tests/arextract.c