Commit 9f30bc42 authored by Niels Möller's avatar Niels Möller
Browse files

(__argp_usage, __option_is_short, __option_is_end): Don't

use __THROW on definitions, only on declarations.

Rev: src/argp/ChangeLog:1.37
Rev: src/argp/argp.h:1.17
parent 664d7f24
2004-11-19 Niels Mller <niels@s3.kth.se>
* argp.h (__argp_usage, __option_is_short, __option_is_end): Don't
use __THROW on definitions, only on declarations.
2004-11-14 Niels Mller <nisse@lysator.liu.se>
* vsnprintf.c: Moved in the CVS tree. It's now a link to
......
......@@ -564,13 +564,13 @@ __argp_short_program_name(const struct argp_state *state) __THROW;
# endif
ARGP_EI void
__argp_usage (__const struct argp_state *__state) __THROW
__argp_usage (__const struct argp_state *__state)
{
__argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
}
ARGP_EI int
__option_is_short (__const struct argp_option *__opt) __THROW
__option_is_short (__const struct argp_option *__opt)
{
if (__opt->flags & OPTION_DOC)
return 0;
......@@ -582,7 +582,7 @@ __option_is_short (__const struct argp_option *__opt) __THROW
}
ARGP_EI int
__option_is_end (__const struct argp_option *__opt) __THROW
__option_is_end (__const struct argp_option *__opt)
{
return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment