~ubuntu-branches/ubuntu/lucid/patch/lucid

« back to all changes in this revision

Viewing changes to getopt1.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Fedrowitz
  • Date: 2003-05-20 21:13:37 UTC
  • mto: (2.1.1 warty) (5.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20030520211337-y8hw3rhs6dq3j9xu
Tags: upstream-2.5.9
ImportĀ upstreamĀ versionĀ 2.5.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
     Free Software Foundation, Inc.
4
4
   This file is part of the GNU C Library.
5
5
 
6
 
   The GNU C Library is free software; you can redistribute it and/or
7
 
   modify it under the terms of the GNU Library General Public License as
8
 
   published by the Free Software Foundation; either version 2 of the
9
 
   License, or (at your option) any later version.
 
6
   This program is free software; you can redistribute it and/or modify
 
7
   it under the terms of the GNU General Public License as published by
 
8
   the Free Software Foundation; either version 2, or (at your option)
 
9
   any later version.
10
10
 
11
 
   The GNU C Library is distributed in the hope that it will be useful,
 
11
   This program is distributed in the hope that it will be useful,
12
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
 
   Library General Public License for more details.
 
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
   GNU General Public License for more details.
15
15
 
16
 
   You should have received a copy of the GNU Library General Public
17
 
   License along with the GNU C Library; see the file COPYING.LIB.  If not,
18
 
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
 
   Boston, MA 02111-1307, USA.  */
 
16
   You should have received a copy of the GNU General Public License along
 
17
   with this program; if not, write to the Free Software Foundation,
 
18
   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
20
19
 
21
20
#ifdef HAVE_CONFIG_H
22
21
#include <config.h>
23
22
#endif
24
23
 
25
 
#include "getopt.h"
 
24
#ifdef _LIBC
 
25
# include <getopt.h>
 
26
#else
 
27
# include "getopt.h"
 
28
#endif
26
29
 
27
30
#if !defined __STDC__ || !__STDC__
28
31
/* This is a separate conditional since some stdc systems
90
93
  return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
91
94
}
92
95
 
 
96
# ifdef _LIBC
 
97
libc_hidden_def (getopt_long)
 
98
libc_hidden_def (getopt_long_only)
 
99
# endif
93
100
 
94
101
#endif  /* Not ELIDE_CODE.  */
95
102