This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]