I'm of the opinion that zlib should not be typedef'ing a name as generic as "free_func", but if they've made that part of their exported API, it might be hard for them to change.
Yes, that was a mistake. However we're stuck with it to maintain interface compatibility.
mark
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings