summaryrefslogtreecommitdiffstats
path: root/sbin/pdisk/dump.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-01-31 14:55:41 +0000
committerkrw <krw@openbsd.org>2016-01-31 14:55:41 +0000
commit71c5b58dd11628be0cfcd9e4efca29d7cccf94cc (patch)
tree4192738bbff458aff770abefaf4a74ad002f53b6 /sbin/pdisk/dump.c
parentClear RGB flags during selection. (diff)
downloadwireguard-openbsd-71c5b58dd11628be0cfcd9e4efca29d7cccf94cc.tar.xz
wireguard-openbsd-71c5b58dd11628be0cfcd9e4efca29d7cccf94cc.zip
Move dump_block() declaration from io.h to io.c since it is not
used anywhere else. Remove declarations of non-existant kPatchType and init_partition_map().
Diffstat (limited to 'sbin/pdisk/dump.c')
-rw-r--r--sbin/pdisk/dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pdisk/dump.c b/sbin/pdisk/dump.c
index 273273e87db..9208402ecc4 100644
--- a/sbin/pdisk/dump.c
+++ b/sbin/pdisk/dump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dump.c,v 1.70 2016/01/31 13:53:23 krw Exp $ */
+/* $OpenBSD: dump.c,v 1.71 2016/01/31 14:55:41 krw Exp $ */
/*
* dump.c - dumping partition maps
@@ -38,6 +38,7 @@
#include "io.h"
void adjust_value_and_compute_prefix(double *, int *);
+void dump_block(unsigned char *, int);
void dump_block_zero(struct partition_map *);
void dump_partition_entry(struct entry *, int, int, int);
int get_max_base_or_length(struct partition_map *);