/[bison]/bison/lib/getopt1.c
ViewVC logotype

Diff of /bison/lib/getopt1.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by akim, Tue Mar 28 13:30:57 2000 UTC revision 1.2 by eggert, Fri Oct 26 07:26:00 2001 UTC
# Line 1  Line 1 
1  /* getopt_long and getopt_long_only entry points for GNU getopt.  /* getopt_long and getopt_long_only entry points for GNU getopt.
2     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
3       Free Software Foundation, Inc.       Free Software Foundation, Inc.
4     NOTE: The canonical source of this file is maintained with the GNU C Library.     This file is part of the GNU C Library.
    Bugs can be reported to bug-glibc@gnu.org.  
5    
6     This program is free software; you can redistribute it and/or modify it     The GNU C Library is free software; you can redistribute it and/or
7     under the terms of the GNU General Public License as published by the     modify it under the terms of the GNU Lesser General Public
8     Free Software Foundation; either version 2, or (at your option) any     License as published by the Free Software Foundation; either
9     later version.     version 2.1 of the License, or (at your option) any later version.
10    
11     This program is distributed in the hope that it will be useful,     The GNU C Library is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14     GNU General Public License for more details.     Lesser General Public License for more details.
15    
16     You should have received a copy of the GNU General Public License     You should have received a copy of the GNU Lesser General Public
17     along with this program; if not, write to the Free Software Foundation,     License along with the GNU C Library; if not, write to the Free
18     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */     Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19       02111-1307 USA.  */
20    
21  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
22  #include <config.h>  #include <config.h>
23  #else  #endif
24    
25    #include "getopt.h"
26    
27  #if !defined __STDC__ || !__STDC__  #if !defined __STDC__ || !__STDC__
28  /* This is a separate conditional since some stdc systems  /* This is a separate conditional since some stdc systems
29     reject `defined (const)'.  */     reject `defined (const)'.  */
# Line 28  Line 31 
31  #define const  #define const
32  #endif  #endif
33  #endif  #endif
 #endif  
   
 #include "getopt.h"  
34    
35  #include <stdio.h>  #include <stdio.h>
36    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26