fdisk: fix "type qualifiers ignored on function return type"
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
be97c5f361
commit
bf8df99191
|
@ -1253,7 +1253,7 @@ get_nonexisting_partition(int warn, int max) {
|
||||||
return get_partition(warn, max);
|
return get_partition(warn, max);
|
||||||
}
|
}
|
||||||
|
|
||||||
char * const
|
const char *
|
||||||
str_units(int n) { /* n==1: use singular */
|
str_units(int n) { /* n==1: use singular */
|
||||||
if (n == 1)
|
if (n == 1)
|
||||||
return display_in_cyl_units ? _("cylinder") : _("sector");
|
return display_in_cyl_units ? _("cylinder") : _("sector");
|
||||||
|
|
|
@ -79,7 +79,7 @@ extern unsigned int read_int(unsigned int low, unsigned int dflt,
|
||||||
|
|
||||||
#define PLURAL 0
|
#define PLURAL 0
|
||||||
#define SINGULAR 1
|
#define SINGULAR 1
|
||||||
extern char *const str_units(int);
|
extern const char * str_units(int);
|
||||||
|
|
||||||
extern unsigned long long get_start_sect(struct partition *p);
|
extern unsigned long long get_start_sect(struct partition *p);
|
||||||
extern unsigned long long get_nr_sects(struct partition *p);
|
extern unsigned long long get_nr_sects(struct partition *p);
|
||||||
|
|
Loading…
Reference in New Issue