[PATCH] Move print_version into printversion.{h|c}

2017-02-16 Thread Ulf Hermann
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 --- lib/ChangeLog | 13 + lib/Makefile.am| 4 ++-- lib/pr

Re: [PATCH] Move print_version into printversion.{h|c}

2017-02-17 Thread Mark Wielaard
On Thu, 2017-02-16 at 12:32 +0100, Ulf Hermann wrote: > 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. Applied, because the split itself is fine. But

Re: [PATCH] Move print_version into printversion.{h|c}

2017-02-17 Thread Ulf Hermann
> But like said before argp is needed for the tools and the libdw > interface. If your glibc replacement doesn't provide argp the build > should pick up libargp and get the definitions and implementation from > there. libdw only needs it for argument parsing, which we can disable if argp isn't a