summaryrefslogtreecommitdiff
path: root/sbin/pdisk/dump.c
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2006-05-11 17:20:41 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2006-05-11 17:20:41 +0000
commit5aa22abdaae14e4a3b9988fcfaeb7717ad36de4c (patch)
tree5cc277b20db82ab82651f9b106b97067637b2f99 /sbin/pdisk/dump.c
parentb9a0f688befd7c7ffadd3de2860dfb6ef504d0a3 (diff)
remove a bunch of linux and NeXT defines and, in turn, -D__unix__
Diffstat (limited to 'sbin/pdisk/dump.c')
-rw-r--r--sbin/pdisk/dump.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sbin/pdisk/dump.c b/sbin/pdisk/dump.c
index 877d0ef8d9c..96add658455 100644
--- a/sbin/pdisk/dump.c
+++ b/sbin/pdisk/dump.c
@@ -62,9 +62,7 @@ typedef struct names {
const char *full;
} NAMES;
-#ifdef __unix__
typedef unsigned long OSType;
-#endif
typedef struct PatchDescriptor {
OSType patchSig;
@@ -397,9 +395,7 @@ list_all_disks()
while ((name = step_media_iterator(iter)) != 0) {
if ((m = open_pathname_as_media(name, O_RDONLY)) == 0) {
-#if defined(__linux__) || defined(__unix__)
error(errno, "can't open file '%s'", name);
-#endif
} else {
close_media(m);