summaryrefslogtreecommitdiff
path: root/sbin/pdisk/file_media.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-01-17 18:57:53 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-01-17 18:57:53 +0000
commit5db06af4f824eff841d51c1fc857f885f1ebaa43 (patch)
treeadb7caffb8e5c5bba951a39d2973a18e914bc050 /sbin/pdisk/file_media.h
parent35d519c17bd4c899ae1d231dd0d92bce0c817cf9 (diff)
Remove a bunch of ridiculous and uninformative comments like "// Defines".
Diffstat (limited to 'sbin/pdisk/file_media.h')
-rw-r--r--sbin/pdisk/file_media.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/sbin/pdisk/file_media.h b/sbin/pdisk/file_media.h
index d37c91f3ada..ee2cfd40d36 100644
--- a/sbin/pdisk/file_media.h
+++ b/sbin/pdisk/file_media.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: file_media.h,v 1.8 2016/01/17 15:57:12 krw Exp $ */
+/* $OpenBSD: file_media.h,v 1.9 2016/01/17 18:57:52 krw Exp $ */
/*
* file_media.h -
@@ -31,35 +31,12 @@
#define __file_media__
-/*
- * Defines
- */
-
-
-/*
- * Types
- */
-
struct file_media {
long long size_in_bytes; /* offset granularity */
int fd;
int regular_file;
};
-
-/*
- * Global Constants
- */
-
-
-/*
- * Global Variables
- */
-
-
-/*
- * Forward declarations
- */
struct file_media *open_file_as_media(char *file, int oflag);
long read_file_media(struct file_media *m, long long offset, unsigned long count, void *address);
long write_file_media(struct file_media *m, long long offset, unsigned long count, void *address);