diff options
-rw-r--r-- | fdisk/fdisk.c | 2 | ||||
-rw-r--r-- | fdisk/fdisk.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index 1d1de5bd1..abc0e1106 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -1253,7 +1253,7 @@ get_nonexisting_partition(int warn, int max) { return get_partition(warn, max); } -char * const +const char * str_units(int n) { /* n==1: use singular */ if (n == 1) return display_in_cyl_units ? _("cylinder") : _("sector"); diff --git a/fdisk/fdisk.h b/fdisk/fdisk.h index 963ef053d..48e03f527 100644 --- a/fdisk/fdisk.h +++ b/fdisk/fdisk.h @@ -79,7 +79,7 @@ extern unsigned int read_int(unsigned int low, unsigned int dflt, #define PLURAL 0 #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_nr_sects(struct partition *p); |