[PATCH] stack: Add basic argp version and bug definitions.

Mark Wielaard mjw at redhat.com
Mon Nov 11 14:38:37 UTC 2013


On Sun, 2013-11-10 at 22:27 +0100, Jan Kratochvil wrote:
> On Sun, 10 Nov 2013 22:17:39 +0100, Mark Wielaard wrote:
> > +2013-11-10  Mark Wielaard  <mjw at redhat.com>
> > +
> > +	* stack.c: Use ARGP_PROGRAM_VERSION_HOOK_DEF and
> > +        ARGP_PROGRAM_BUG_ADDRESS_DEF.
> 
> Some wrong spacing here.

Fixed.

> > +	(print_version): New function.
> 
> It really works.  I have no idea how :-) but sure OK for check-in.

It works by argp magic :)

These globals
https://www.gnu.org/software/libc/manual/html_node/Argp-Global-Variables.html
are wrapped in some more magic macros by lib/system.h which are then
used in the src programs.

Cheers,

Mark



More information about the elfutils-devel mailing list