diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2023-03-25 20:34:29 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2023-03-25 20:34:29 +0000 |
commit | 93d1e6530557cb17e8c40985f24b42e91ec87766 (patch) | |
tree | 61ef49fe7a99ecaa64e4fa717df3450dbe5c5674 /sbin | |
parent | 213dc4251f33bcb2b0d050aedaed8b95e4d330be (diff) |
Move LINEBUFSZ to be with its friends in misc.h.
Nuke unused HELPBUFSZ.
No functional change.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fdisk/misc.h | 3 | ||||
-rw-r--r-- | sbin/fdisk/user.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sbin/fdisk/misc.h b/sbin/fdisk/misc.h index 69586e30003..640510f4fba 100644 --- a/sbin/fdisk/misc.h +++ b/sbin/fdisk/misc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.49 2022/04/20 20:43:32 krw Exp $ */ +/* $OpenBSD: misc.h,v 1.50 2023/03/25 20:34:28 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -29,6 +29,7 @@ struct unit_type { #define WHITESPACE " \f\n\r\t\v" #define UNTRIMMED 0 #define TRIMMED 1 +#define LINEBUFSZ 100 double units_size(const char *, const uint64_t, const struct unit_type **); diff --git a/sbin/fdisk/user.h b/sbin/fdisk/user.h index e358f81f5b1..6f5d5011e2e 100644 --- a/sbin/fdisk/user.h +++ b/sbin/fdisk/user.h @@ -1,4 +1,4 @@ -/* $OpenBSD: user.h,v 1.24 2022/07/25 17:45:16 krw Exp $ */ +/* $OpenBSD: user.h,v 1.25 2023/03/25 20:34:28 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -16,9 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define LINEBUFSZ 100 -#define HELPBUFSZ 80 - void USER_edit(const uint64_t, const uint64_t); void USER_print_disk(const int); void USER_help(const struct mbr *); |