[parted-devel] Deprecate ped[register|unregister]_disk_type

Debarshi Ray debarshi.ray at gmail.com
Mon Dec 11 10:03:38 CET 2006


> 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.



More information about the parted-devel mailing list