]> sourceware.org Git - newlib-cygwin.git/commit
Fix basename prototype collision string.h vs libgen.h
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 22 Apr 2015 08:05:16 +0000 (10:05 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 23 Apr 2015 20:03:45 +0000 (22:03 +0200)
commit97a5dda2b08b515dd2423ee74fc4ed57e85ac4b9
treea09f2335ecf63eb39d2be4936f398b3c644d8f4c
parente6101f300824e7b551c8a2b15da00b34af914902
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>
newlib/ChangeLog
newlib/libc/include/libgen.h
newlib/libc/include/string.h
This page took 0.033951 seconds and 5 git commands to generate.