annotate lib/argp-xinl.c @ 425:67815606c5d9 3.0-beta2

Prevent NULL deref in lw_expr_destroy
author lost@l-w.ca
date Sun, 19 Sep 2010 10:27:47 -0600
parents 3c2e1f24cc7d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
421
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
1 /* Real definitions for extern inline functions in argp.h
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
2 Copyright (C) 1997, 1998, 2004, 2009, 2010 Free Software Foundation, Inc.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
3 This file is part of the GNU C Library.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
4 Written by Miles Bader <miles@gnu.ai.mit.edu>.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
5
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
6 This program is free software: you can redistribute it and/or modify
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
8 the Free Software Foundation; either version 3 of the License, or
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
9 (at your option) any later version.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
10
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
11 This program is distributed in the hope that it will be useful,
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
14 GNU General Public License for more details.
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
15
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
18
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
19 #ifdef HAVE_CONFIG_H
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
20 # include <config.h>
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
21 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
22
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
23 #if defined _LIBC || defined HAVE_FEATURES_H
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
24 # include <features.h>
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
25 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
26
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
27 #ifndef __USE_EXTERN_INLINES
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
28 # define __USE_EXTERN_INLINES 1
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
29 #endif
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
30 #define ARGP_EI
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
31 #undef __OPTIMIZE__
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
32 #define __OPTIMIZE__ 1
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
33 #include "argp.h"
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
34
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
35 /* Add weak aliases. */
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
36 #if _LIBC - 0 && defined (weak_alias)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
37
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
38 weak_alias (__argp_usage, argp_usage)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
39 weak_alias (__option_is_short, _option_is_short)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
40 weak_alias (__option_is_end, _option_is_end)
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
41
3c2e1f24cc7d Added generated files for release
lost@l-w.ca
parents:
diff changeset
42 #endif