summaryrefslogtreecommitdiffstats
path: root/src/size.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/size.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/size.c')
-rw-r--r--src/size.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/size.c b/src/size.c
index de0d791b..ad8dbcbb 100644
--- a/src/size.c
+++ b/src/size.c
@@ -36,7 +36,7 @@
#include <unistd.h>
#include <system.h>
-
+#include <printversion.h>
/* Name and version of program. */
ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;