summaryrefslogtreecommitdiffstats
path: root/src/addr2line.c
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2017-02-16 12:32:02 +0100
committerMark Wielaard <[email protected]>2017-02-17 10:55:28 +0100
commite22cc80923f94e54c9384421904461958899db5b (patch)
tree944b0153b16386401f56572375440e15199bc2fc /src/addr2line.c
parentb3248e684cedf66239710a5f16a6b45294f183bc (diff)
Move print_version into printversion.{h|c}
Rename version.c so that the implementation is called after the header and the header doesn't clash with the toplevel version.h. print_version depends on argp and is only used in the tools. Signed-off-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/addr2line.c')
-rw-r--r--src/addr2line.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/addr2line.c b/src/addr2line.c
index 02220885..ba414a74 100644
--- a/src/addr2line.c
+++ b/src/addr2line.c
@@ -38,6 +38,7 @@
#include <unistd.h>
#include <system.h>
+#include <printversion.h>
/* Name and version of program. */