[parted-devel] Deprecate ped[register|unregister]_disk_type
Otavio Salvador
otavio at debian.org
Mon Dec 11 10:11:44 CET 2006
"Debarshi Ray" <debarshi.ray at gmail.com> writes:
>> 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?
Let's see what the others say's about it too. I would prefer this way
since it looks simpler and clear but let's way for their comments
before doing anything else.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio at debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
More information about the parted-devel
mailing list