OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # --- T2-COPYRIGHT-NOTE-BEGIN --- |
2 | # This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||
3 | # |
||
4 | # T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone |
||
5 | # Copyright (C) 2006 The T2 SDE Project |
||
6 | # |
||
7 | # More information can be found in the files COPYING and README. |
||
8 | # |
||
9 | # This patch file is dual-licensed. It is available under the license the |
||
10 | # patched project is licensed under, as long as it is an OpenSource license |
||
11 | # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||
12 | # of the GNU General Public License as published by the Free Software |
||
13 | # Foundation; either version 2 of the License, or (at your option) any later |
||
14 | # version. |
||
15 | # --- T2-COPYRIGHT-NOTE-END --- |
||
16 | |||
17 | |||
18 | No __THROW in function implementation. |
||
19 | --jsaw |
||
20 | |||
21 | --- a/argp.h |
||
22 | +++ b/argp.h |
||
23 | @@ -560,17 +560,17 @@ __argp_short_program_name(const struct a |
||
24 | # endif |
||
25 | |||
26 | # ifndef ARGP_EI |
||
27 | -# define ARGP_EI extern __inline__ |
||
28 | +# define ARGP_EI extern inline |
||
29 | # endif |
||
30 | |||
31 | ARGP_EI void |
||
32 | -__argp_usage (__const struct argp_state *__state) __THROW |
||
33 | +__argp_usage (__const struct argp_state *__state) |
||
34 | { |
||
35 | __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); |
||
36 | } |
||
37 | |||
38 | ARGP_EI int |
||
39 | -__option_is_short (__const struct argp_option *__opt) __THROW |
||
40 | +__option_is_short (__const struct argp_option *__opt) |
||
41 | { |
||
42 | if (__opt->flags & OPTION_DOC) |
||
43 | return 0; |
||
44 | @@ -582,7 +582,7 @@ __option_is_short (__const struct argp_o |
||
45 | } |
||
46 | |||
47 | ARGP_EI int |
||
48 | -__option_is_end (__const struct argp_option *__opt) __THROW |
||
49 | +__option_is_end (__const struct argp_option *__opt) |
||
50 | { |
||
51 | return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; |
||
52 | } |
||
53 | --- a/argp-parse.c |
||
54 | +++ b/argp-parse.c |
||
55 | @@ -1277,13 +1277,13 @@ weak_alias (__argp_input, _argp_input) |
||
56 | /* Defined here, in case a user is not inlining the definitions in |
||
57 | * argp.h */ |
||
58 | void |
||
59 | -__argp_usage (__const struct argp_state *__state) __THROW |
||
60 | +__argp_usage (__const struct argp_state *__state) |
||
61 | { |
||
62 | __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); |
||
63 | } |
||
64 | |||
65 | int |
||
66 | -__option_is_short (__const struct argp_option *__opt) __THROW |
||
67 | +__option_is_short (__const struct argp_option *__opt) |
||
68 | { |
||
69 | if (__opt->flags & OPTION_DOC) |
||
70 | return 0; |
||
71 | @@ -1297,7 +1297,7 @@ __option_is_short (__const struct argp_o |
||
72 | } |
||
73 | |||
74 | int |
||
75 | -__option_is_end (__const struct argp_option *__opt) __THROW |
||
76 | +__option_is_end (__const struct argp_option *__opt) |
||
77 | { |
||
78 | return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; |
||
79 | } |