replace prototype for basename in string.h with non-prototype declaration
authorRich Felker <dalias@aerifal.cx>
Sat, 25 Feb 2012 04:23:47 +0000 (23:23 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 25 Feb 2012 04:23:47 +0000 (23:23 -0500)
commit06aec8d7152dfb8360cb7ed9b3d7215ca0b0b500
tree6d67bba4b85fd08514c7e99b8fb22a49815df5b6
parent78e79d9d502ab8cdbccf94a7f307c78b8847ad0e
replace prototype for basename in string.h with non-prototype declaration

GNU programs may expect the GNU version of basename, which has a
different prototype (argument is const-qualified) and prototype it
themselves too. of course if they're expecting the GNU behavior for
the function, they'll still run into problems, but at least this
eliminates some compile-time failures.
include/string.h