diff options
Diffstat (limited to 'sbin/fdisk/misc.h')
-rw-r--r-- | sbin/fdisk/misc.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sbin/fdisk/misc.h b/sbin/fdisk/misc.h index 648936856b2..9acfba50b6c 100644 --- a/sbin/fdisk/misc.h +++ b/sbin/fdisk/misc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.38 2021/07/11 13:51:42 krw Exp $ */ +/* $OpenBSD: misc.h,v 1.39 2021/07/12 22:18:54 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -20,18 +20,18 @@ #define _MISC_H struct unit_type { - char *abbr; - int64_t conversion; - char *lname; + char *ut_abbr; + int64_t ut_conversion; + char *ut_lname; }; extern struct unit_type unit_types[]; #define SECTORS 1 /* Prototypes */ -int unit_lookup(char *); -int string_from_line(char *, size_t); +int unit_lookup(const char *); +int string_from_line(char *, const size_t); int ask_yn(const char *); -uint64_t getuint64(char *, uint64_t, uint64_t, uint64_t); +uint64_t getuint64(const char *, uint64_t, const uint64_t, const uint64_t); char *utf16le_to_string(const uint16_t *); uint16_t *string_to_utf16le(const char *); |