]> Savannah Git Hosting - gnulib.git/commit
obstack: do not reject malloc-style obstack_chunkfun, obstack_freefun
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Nov 2014 19:41:57 +0000 (11:41 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Nov 2014 19:42:24 +0000 (11:42 -0800)
commited253cd8e51e0d6dddc9c80dfbb592400a370c34
treebd610bc9200c4ffdaee1a2f84f0b1b1b2f14bafe
parent269a0fae57982b2e05968c098de161187e62c718
obstack: do not reject malloc-style obstack_chunkfun, obstack_freefun

Problem reported by Alan Modra in:
http://lists.gnu.org/archive/html/bug-gnulib/2014-11/msg00007.html
* lib/obstack.h (obstack_chunkfun, obstack_freefun):
Always cast the function arg, reverting this part of the previous
change.
ChangeLog
lib/obstack.h