mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
Please C++ compilers when calling strrchr.
* libltdl/ltdl.c (has_library_ext): Match the return type of strrchr with the first argument to please C++ compilers. Report by Peter O'Gorman. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
This commit is contained in:
parent
b15f6f9ded
commit
2c9c38d8a1
@ -1,3 +1,10 @@
|
||||
2009-11-30 Peter Rosin <peda@lysator.liu.se>
|
||||
|
||||
Please C++ compilers when calling strrchr.
|
||||
* libltdl/ltdl.c (has_library_ext): Match the return type of
|
||||
strrchr with the first argument to please C++ compilers.
|
||||
Report by Peter O'Gorman.
|
||||
|
||||
2009-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix bindir and dlopen tests for C++ compilers (CC=g++).
|
||||
|
@ -1507,7 +1507,7 @@ file_not_found (void)
|
||||
static int
|
||||
has_library_ext (const char *filename)
|
||||
{
|
||||
char * ext = 0;
|
||||
const char * ext = 0;
|
||||
|
||||
assert (filename);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user