diff options
author | DJ Delorie <dj@redhat.com> | 2002-10-16 13:47:35 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2002-10-16 13:47:35 +0000 |
commit | 9f84ab0dcadd16a44d8585d013c597ab1c52aa8d (patch) | |
tree | 523209a22624c0239354dde58bbafffaa89c5a01 /include | |
parent | 4001ad8ce41ecb5e8c09f8fa0f2e9c337128ffa6 (diff) | |
download | fsf-binutils-gdb-9f84ab0dcadd16a44d8585d013c597ab1c52aa8d.zip fsf-binutils-gdb-9f84ab0dcadd16a44d8585d013c597ab1c52aa8d.tar.gz fsf-binutils-gdb-9f84ab0dcadd16a44d8585d013c597ab1c52aa8d.tar.bz2 |
merge from gcc
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/getopt.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 257e381..d7564ef 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2002-10-11 David O'Brien <obrien@FreeBSD.org> + + * getopt.h: getopt is in unistd.h (based on SUSv2). + 2002-09-26 Jakub Jelinek <jakub@redhat.com> * elf/x86-64.h: Add TLS relocs. diff --git a/include/getopt.h b/include/getopt.h index 0c6470b..da09cee 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -108,7 +108,7 @@ struct option #if !HAVE_DECL_GETOPT #if defined (__GNU_LIBRARY__) || defined (HAVE_DECL_GETOPT) /* Many other libraries have conflicting prototypes for getopt, with - differences in the consts, in stdlib.h. To avoid compilation + differences in the consts, in unistd.h. To avoid compilation errors, only prototype getopt for the GNU C library. */ extern int getopt (int argc, char *const *argv, const char *shortopts); #else |