Mercurial > hg > octave-lojdl > gnulib-hg
changeset 5426:b3866cec09d3
* getopt_.h: rename getopt to __GETOPT_PREFIX##getopt, and so forth
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 11 Nov 2004 20:30:14 +0000 |
parents | 354b1085b8bd |
children | e314bbc551bf |
files | lib/ChangeLog |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,12 @@ +2004-11-11 Paul Eggert <eggert@cs.ucla.edu> + + * getopt_.h [defined __GETOPT_PREFIX && !defined __need_getopt]: + Include <unistd.h> if available. + Then rename getopt to __GETOPT_PREFIX##getopt, and so forth for + the other external symbols. + (getopt) [!defined __GNU_LIBRARY]: Use prototype, not old-style + declaration, since the above renaming now works around collisions. + 2004-11-11 Jim Meyering <jim@meyering.net> * linebreak.c: Remove trailing blanks.