declare basename in string.h when _GNU_SOURCE is defined
authorRich Felker <dalias@aerifal.cx>
Tue, 7 Feb 2012 18:10:30 +0000 (13:10 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 7 Feb 2012 18:10:30 +0000 (13:10 -0500)
commit1ba28b90d6de61460b06289d8484f489df64e47e
treebb703684393c35700c71ddde66ee23f5c3b833b6
parenta591e0383a0a31ac94541846796b93fedc63a0c4
declare basename in string.h when _GNU_SOURCE is defined

note that it still will have the standards-conformant behavior, not
the GNU behavior. but at least this prevents broken code from ending
up with truncated pointers due to implicit declarations...
include/string.h