summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2011-09-21 21:43:57 +0000
committerderaadt <deraadt@openbsd.org>2011-09-21 21:43:57 +0000
commit857d8bcd2fb2947fe6c65d8c54048e9579fdd3ed (patch)
tree272fb0bb2fcfdf468719b09c60b204d860f0fc4c /sys/kern/subr_disk.c
parentadd a note about -ftree-vrp being removed from -O2 (diff)
downloadwireguard-openbsd-857d8bcd2fb2947fe6c65d8c54048e9579fdd3ed.tar.xz
wireguard-openbsd-857d8bcd2fb2947fe6c65d8c54048e9579fdd3ed.zip
Move the prototype for disk_readlabel to the .h file so that hibernate
can get at it. ok jsing
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r--sys/kern/subr_disk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index 2228f1be758..97c1c10c3c0 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_disk.c,v 1.132 2011/09/18 13:23:38 miod Exp $ */
+/* $OpenBSD: subr_disk.c,v 1.133 2011/09/21 21:43:57 deraadt Exp $ */
/* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */
/*
@@ -83,7 +83,6 @@ u_char rootduid[8]; /* DUID of root disk. */
/* softraid callback, do not use! */
void (*softraid_disk_attach)(struct disk *, int);
-char *disk_readlabel(struct disklabel *, dev_t, char *, size_t);
void disk_attach_callback(void *, void *);
/*