]> 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>
Wed, 22 Apr 2015 08:05:16 +0000 (10:05 +0200)
commit84e4cb880afd04de3693a7b61f53aa91c575b101
treec6acd7101fa569e168e47f7507297dae746deaa7
parent8154d0d4ca4033d30e65cf30ff78d4fbc4ed2091
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.028828 seconds and 5 git commands to generate.