summaryrefslogtreecommitdiff
path: root/sbin/fdisk/disk.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fdisk/disk.h')
-rw-r--r--sbin/fdisk/disk.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/fdisk/disk.h b/sbin/fdisk/disk.h
index 1affb693e7c..64cb9a92024 100644
--- a/sbin/fdisk/disk.h
+++ b/sbin/fdisk/disk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disk.h,v 1.17 2015/03/14 15:21:53 krw Exp $ */
+/* $OpenBSD: disk.h,v 1.18 2015/03/16 23:51:50 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -28,9 +28,10 @@ struct disk {
};
int DISK_open(char *, int);
-void DISK_getlabelgeometry(struct disk *);
-int DISK_printgeometry(struct disk *, char *);
+void DISK_getlabelgeometry(void);
+int DISK_printgeometry(char *);
+extern struct disk disk;
extern struct disklabel dl;
#endif /* _DISK_H */