[parted-devel] HFS+ resize support for little-endian systems

Otavio Salvador otavio at debian.org
Wed Feb 28 14:40:20 CET 2007


Olaf Hering <olh at suse.de> writes:

> On Sat, Feb 24, Matthew Garrett wrote:
>
>> +++ libparted/fs/hfs/journal.h	2007-02-12 19:14:06.000000000 +0000
>> @@ -26,6 +26,8 @@
>>  
>>  #include "hfs.h"
>>  
>> +static int little_endian = 0;
>
> Globals do not go into header files.
> Globals do not need initialization to zero.

Good point Olaf.

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