I personally like how the kernel folks does it. They use a definition to add an attribute that raise a warning on compile time. For example:
I love it. :-) The best thing is that the distribution vendor will not be able to stop the user programs from using the deprecated functions as long the version of libparted has it, although the user programmer will still be warned. Should I rework the patch to do it this way? Happy hacking, Debarshi -- Universities are places of knowledge. The freshman each bring a little in with them, and the seniors take none away, so knowledge accumulates. _______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

