* lib/argp.h: Fix compilation with g++-4.6 -std=c++0x.
This commit is contained in:
parent
3a406dc3d7
commit
cdd7b475b3
1 changed files with 2 additions and 2 deletions
|
|
@ -620,7 +620,7 @@ __argp_usage (const struct argp_state *__state)
|
||||||
}
|
}
|
||||||
|
|
||||||
ARGP_EI int
|
ARGP_EI int
|
||||||
__NTH (__option_is_short (const struct argp_option *__opt))
|
__option_is_short (const struct argp_option *__opt)
|
||||||
{
|
{
|
||||||
if (__opt->flags & OPTION_DOC)
|
if (__opt->flags & OPTION_DOC)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
@ -632,7 +632,7 @@ __NTH (__option_is_short (const struct argp_option *__opt))
|
||||||
}
|
}
|
||||||
|
|
||||||
ARGP_EI int
|
ARGP_EI int
|
||||||
__NTH (__option_is_end (const struct argp_option *__opt))
|
__option_is_end (const struct argp_option *__opt)
|
||||||
{
|
{
|
||||||
return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
|
return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue