diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-04-22 11:05:16 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-04-23 23:03:45 +0300 |
commit | 97a5dda2b08b515dd2423ee74fc4ed57e85ac4b9 (patch) | |
tree | a09f2335ecf63eb39d2be4936f398b3c644d8f4c /newlib/ChangeLog | |
parent | e6101f300824e7b551c8a2b15da00b34af914902 (diff) |
Fix basename prototype collision string.h vs libgen.h
* libc/include/libgen.h (basename): Drop defining _BASENAME_DEFINED.
Always define macro basename. Add comment to explain why.
* libc/include/string.h (basename): Check for basename instead of
_BASENAME_DEFINED. Drop __GNUC__ branch, always use basename macro.
Change comment to explain why. Add nonnull function attribute.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/ChangeLog')
-rw-r--r-- | newlib/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index bca127755..edf4a7fce 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,11 @@ +2015-04-22 Corinna Vinschen <vinschen@redhat.com> + + * libc/include/libgen.h (basename): Drop defining _BASENAME_DEFINED. + Always define macro basename. Add comment to explain why. + * libc/include/string.h (basename): Check for basename instead of + _BASENAME_DEFINED. Drop __GNUC__ branch, always use basename macro. + Change comment to explain why. Add nonnull function attribute. + 2015-04-09 Nick Clifton <nickc@redhat.com> * libc/machine/rx/memchr.S: Add non-string insn using version. |