1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
15 # --- T2-COPYRIGHT-NOTE-END ---
18 No __THROW in function implementation.
21 --- argp-standalone-1.4-test2/argp.h.orig 2006-01-06 02:29:59.000000000 +0100
22 +++ argp-standalone-1.4-test2/argp.h 2006-01-06 02:41:10.000000000 +0100
27 -# define ARGP_EI extern __inline__
28 +# define ARGP_EI extern inline
32 -__argp_usage (__const struct argp_state *__state) __THROW
33 +__argp_usage (__const struct argp_state *__state)
35 __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
39 -__option_is_short (__const struct argp_option *__opt) __THROW
40 +__option_is_short (__const struct argp_option *__opt)
42 if (__opt->flags & OPTION_DOC)
48 -__option_is_end (__const struct argp_option *__opt) __THROW
49 +__option_is_end (__const struct argp_option *__opt)
51 return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
53 --- argp-standalone-1.4-test2/argp-parse.c.orig 2006-01-06 02:47:48.000000000 +0100
54 +++ argp-standalone-1.4-test2/argp-parse.c 2006-01-06 02:48:16.000000000 +0100
55 @@ -1290,13 +1290,13 @@
56 /* Defined here, in case a user is not inlining the definitions in
59 -__argp_usage (__const struct argp_state *__state) __THROW
60 +__argp_usage (__const struct argp_state *__state)
62 __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
66 -__option_is_short (__const struct argp_option *__opt) __THROW
67 +__option_is_short (__const struct argp_option *__opt)
69 if (__opt->flags & OPTION_DOC)
75 -__option_is_end (__const struct argp_option *__opt) __THROW
76 +__option_is_end (__const struct argp_option *__opt)
78 return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;