Fix numerous warnings about an unknown attribute rpl_malloc on mingw32. fbsd72-i386-build23 fc11-i386-build9 fc11-x64-build10 lenny-x64-build31 sid-i386-build77
authorBen Pfaff <blp@gnu.org>
Thu, 1 Oct 2009 04:50:13 +0000 (21:50 -0700)
committerBen Pfaff <blp@gnu.org>
Thu, 1 Oct 2009 04:50:13 +0000 (21:50 -0700)
On mingw32, Gnulib replaces malloc by defining it as a macro that expands
to rpl_malloc.  Since MALLOC_LIKE used malloc as an identifier, even though
it didn't refer to the malloc function per se, this instance of malloc
also expanded to rpl_malloc, confusing GCC.

GCC also accepts __malloc__ here, so this commit uses that spelling
instead, which avoids the warning.


No differences found