diff options
| author | Ulf Hermann <[email protected]> | 2017-02-14 14:30:47 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2017-02-15 15:24:24 +0100 |
| commit | 29173849c445b178a97e400c071f25629a4f8b9f (patch) | |
| tree | 09f5b93a1e221904104fe6e342268ca18e36dba2 /src | |
| parent | 01b994e3e6ccb8e79d04a8f6fd10719fac8ff5b8 (diff) | |
Move color handling into a separate header
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 <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/nm.c | 1 | ||||
| -rw-r--r-- | src/objdump.c | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2a6d93ef..19c7dbb7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2017-02-14 Ulf Hermann <[email protected]> + + * nm.c: Include color.h. + * objdump.c: Likewise. + 2016-12-24 Mark Wielaard <[email protected]> * Makefile.am (findtextrel_LDADD): Add $(libeu). @@ -44,6 +44,7 @@ #include <libeu.h> #include <system.h> +#include <color.h> #include "../libebl/libeblP.h" #include "../libdwfl/libdwflP.h" diff --git a/src/objdump.c b/src/objdump.c index fff4b818..030274bc 100644 --- a/src/objdump.c +++ b/src/objdump.c @@ -35,6 +35,7 @@ #include <libeu.h> #include <system.h> +#include <color.h> #include "../libebl/libeblP.h" |
