package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / argp-standalone / 0001-throw-in-funcdef.patch
blob4a90751e1e62dd113f3848fe09ee70c8c1e0d2ce
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 ---
18 No __THROW in function implementation.
19 --jsaw
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
23 @@ -560,17 +560,17 @@
24 # endif
26 # ifndef ARGP_EI
27 -# define ARGP_EI extern __inline__
28 +# define ARGP_EI extern inline
29 # endif
31 ARGP_EI void
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);
38 ARGP_EI int
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)
43 return 0;
44 @@ -582,7 +582,7 @@
47 ARGP_EI int
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
57 * argp.h */
58 void
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);
65 int
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)
70 return 0;
71 @@ -1310,7 +1310,7 @@
74 int
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;