summaryrefslogtreecommitdiff
path: root/lib/libeu.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce xasprintfDmitry V. Levin2021-09-091-0/+2
| | | | | | | Similar to other x* functions, xasprintf is like asprintf except that it dies in case of an error. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
* Move color handling into a separate headerUlf Hermann2017-02-151-32/+0
| | | | | | | | We only need it in nm.c and objdump.c, but it pulls in argp as dependency. By dropping it from libeu.h, the libraries can be compiled without argp. Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
* lib: Provide MAX and MIN in system.hAkihiko Odaki2016-10-121-0/+78
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>