diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-01-16 20:04:13 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-01-16 20:04:13 +0000 |
commit | e1b775ce0aa8f703c9908974a92dcfa339a19c21 (patch) | |
tree | 2f96688d54457a177a4bdd0cdcb8d620fbad59d9 /sbin/pdisk | |
parent | 41144c75faa015eaead753e2c3e052792dd11af3 (diff) |
Remove some forward declarations missed in last commit.
Diffstat (limited to 'sbin/pdisk')
-rw-r--r-- | sbin/pdisk/media.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sbin/pdisk/media.h b/sbin/pdisk/media.h index d7d515cc0dd..389904fb042 100644 --- a/sbin/pdisk/media.h +++ b/sbin/pdisk/media.h @@ -1,4 +1,4 @@ -/* $OpenBSD: media.h,v 1.7 2016/01/16 20:00:50 krw Exp $ */ +/* $OpenBSD: media.h,v 1.8 2016/01/16 20:04:12 krw Exp $ */ /* * media.h - @@ -61,12 +61,6 @@ /* those whose use media objects need just the pointer type */ typedef struct media *MEDIA; -/* those who define media objects need the struct and internal routine types */ -typedef long (*media_read)(MEDIA m, long long offset, unsigned long count, void *address); -typedef long (*media_write)(MEDIA m, long long offset, unsigned long count, void *address); -typedef long (*media_close)(MEDIA m); -typedef long (*media_os_reload)(MEDIA m); - struct media { long kind; /* kind of media - SCSI, IDE, etc. */ unsigned long grain; /* granularity (offset & size) */ |