Changeset 609 for branches/GNU/src/binutils/include/getopt.h
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/include/getopt.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 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)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.