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 /libasm | |
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 <akihiko.odaki.4i@stu.hosei.ac.jp>
Diffstat (limited to 'libasm')
-rw-r--r-- | libasm/ChangeLog | 4 | ||||
-rw-r--r-- | libasm/asm_align.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libasm/ChangeLog b/libasm/ChangeLog index 4c6cb286..fe06007e 100644 --- a/libasm/ChangeLog +++ b/libasm/ChangeLog @@ -1,3 +1,7 @@ +2015-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> + + * asm_align.c: Remove sys/param.h include. + 2016-07-08 Mark Wielaard <mjw@redhat.com> * Makefile.am (AM_CPPFLAGS): Add libdwelf. diff --git a/libasm/asm_align.c b/libasm/asm_align.c index 6631c4d7..e59a070e 100644 --- a/libasm/asm_align.c +++ b/libasm/asm_align.c @@ -33,7 +33,6 @@ #include <inttypes.h> #include <stdlib.h> -#include <sys/param.h> #include <libasmP.h> #include <system.h> |