Changeset 1391 for branches/GNU/src/gcc/include/getopt.h
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/include/getopt.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 /* Declarations for getopt. 2 Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000 3 Free Software Foundation, Inc.2 Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000, 3 2002 Free Software Foundation, Inc. 4 4 5 5 NOTE: The canonical source of this file is maintained with the GNU C Library. … … 106 106 to find the declaration so provide a fully prototyped one. If it 107 107 is 1, we found it so don't provide any declaration at all. */ 108 #if defined (__GNU_LIBRARY__) || (defined (HAVE_DECL_GETOPT) && !HAVE_DECL_GETOPT) 108 #if !HAVE_DECL_GETOPT 109 #if defined (__GNU_LIBRARY__) || defined (HAVE_DECL_GETOPT) 109 110 /* Many other libraries have conflicting prototypes for getopt, with 110 differences in the consts, in stdlib.h. To avoid compilation111 differences in the consts, in unistd.h. To avoid compilation 111 112 errors, only prototype getopt for the GNU C library. */ 112 113 extern int getopt (int argc, char *const *argv, const char *shortopts); 113 #else /* not __GNU_LIBRARY__ */114 # if !defined (HAVE_DECL_GETOPT) && !defined (__cplusplus)114 #else 115 #ifndef __cplusplus 115 116 extern int getopt (); 116 # endif 117 #endif /* __GNU_LIBRARY__ */ 117 #endif /* __cplusplus */ 118 #endif 119 #endif /* !HAVE_DECL_GETOPT */ 120 118 121 extern int getopt_long (int argc, char *const *argv, const char *shortopts, 119 122 const struct option *longopts, int *longind); -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.