summaryrefslogtreecommitdiff
path: root/sbin/disklabel/extern.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-01-07 21:58:15 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-01-07 21:58:15 +0000
commit78d9e4e50020113286d56f4ae26dd7e029b61a58 (patch)
tree6baf6966e929d13629338c16e734ec0db3e35ed5 /sbin/disklabel/extern.h
parentd0efb854d58230fd14fa4651d7527cf34fdcf6f3 (diff)
Print disk size and free space in requested unit. Some refactoring to
avoid code duplication as well. ok marco@ deraadt@
Diffstat (limited to 'sbin/disklabel/extern.h')
-rw-r--r--sbin/disklabel/extern.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/disklabel/extern.h b/sbin/disklabel/extern.h
index b9344e51ebd..03d62f39f87 100644
--- a/sbin/disklabel/extern.h
+++ b/sbin/disklabel/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.3 2004/10/01 04:08:45 jsg Exp $ */
+/* $OpenBSD: extern.h,v 1.4 2005/01/07 21:58:14 otto Exp $ */
/*
* Copyright (c) 2003 Theo de Raadt <deraadt@openbsd.org>
@@ -18,7 +18,8 @@
u_short dkcksum(struct disklabel *);
int checklabel(struct disklabel *);
-void display(FILE *, struct disklabel *, char);
+double scale(u_int32_t, char, struct disklabel *);
+void display(FILE *, struct disklabel *, char **, char, int, u_int32_t);
void display_partition(FILE *, struct disklabel *, char **, int, char);
struct disklabel *readlabel(int);