[parted-devel] [PATCH] avoid const-related compiler warnings

Otavio Salvador otavio at debian.org
Thu May 29 12:59:15 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Meyering <jim at meyering.net> writes:

> I noticed a bunch of const-related warnings.
> This fixes them.
>
> avoid const-related compiler warnings
> * libparted/arch/linux.c (init_dasd, init_generic): Likewise.
> * libparted/exception.c (type_strings, option_strings): Likewise.
> (ped_exception_get_type_string, ped_exception_get_option_string):
> * libparted/fs/ext2/ext2_block_relocator.c (ext2_block_relocator_flush):
> * libparted/fs/ext2/ext2_mkfs.c (_set_dirent): Likewise.
> * libparted/fs/fat/resize.c (ask_type): Likewise.
> * libparted/fs/fat/traverse.c (fat_traverse_begin): Likewise.
> * libparted/fs/fat/traverse.h (buffer_size): Likewise.
> * libparted/labels/mac.c (_rawpart_cmp_type, _rawpart_cmp_name):
> (_rawpart_is_partition_map, _rawpart_is_boot, _rawpart_is_driver):
> (_rawpart_has_driver): Likewise.
> * parted/parted.c (options, options_help, number_msg): Likewise.
> (label_type_msg_start, flag_msg_start, unit_msg_start): Likewise.
> (part_type_msg, fs_type_msg_start, start_end_msg, state_msg): Likewise.
> (device_msg, name_msg, resize_msg_start, copyright_msg, do_print):
> * parted/ui.c (prog_name, banner_msg, usage_msg, bug_msg): Likewise.
> (screen_width): Likewise.
> * parted/ui.h (prog_name): Likewise.

Ack

- -- 
        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."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFIPqiiLqiZQEml+FURAoiGAJ9tyFfFVcXzlDpFzSicRPWZ2JL/RwCgvGp4
FEUdboOk6nf9lfEAXAAk1dw=
=pcSp
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list