diff options
| author | Akihiko Odaki <[email protected]> | 2016-10-11 23:06:48 +0900 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2016-10-12 15:43:14 +0200 |
| commit | 60b2bf1b08c621492410b24e469b2bdf58d167d5 (patch) | |
| tree | 9a9f16d5a686b42469c190a7d3b0bd245344dc48 /lib/ChangeLog | |
| parent | 7bf4b63a4980788e6c1969cae02f0483e79c069f (diff) | |
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 <[email protected]>
Diffstat (limited to 'lib/ChangeLog')
| -rw-r--r-- | lib/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 76b5753d..88c71c9a 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,17 @@ +2015-10-11 Akihiko Odaki <[email protected]> + + * Makefile.am (noinst_HEADERS): Add libeu.h. + * color.c: Remove system.h include, add libeu.h include. + * crc32_file.c: Likewise. + * fixedsizehash.h: Remove sys/param.h include. + * libeu.h: New file. + * system.h: Include sys/param.h. + (xmalloc, xcalloc, xrealloc, xstrdup, xstrndup, crc32, crc32_file, + color_argp, color_enum, color_*): Move definitions to libeu.h. + * xstrdup.c: Remove system.h include, add libeu.h include. + * xstrndup.c: Remove system.h include, add libeu.h and stdint.h + includes. + 2015-09-24 Jose E. Marchesi <[email protected]> * Makefile.am (AM_CFLAGS): Use -fPIC instead of -fpic to avoid relocation |
