summaryrefslogtreecommitdiff
path: root/sbin/pdisk/partition_map.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-01-17 23:18:20 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-01-17 23:18:20 +0000
commit01308218db84dbe39d40e0a68e9051070079e552 (patch)
treebb4e53b36a7f77b5c7400b0f2c0e2232a94fe266 /sbin/pdisk/partition_map.h
parent6a8ab3d78c1ca5638191dddc702dca808451f029 (diff)
Change "//" comments to "/**/". Nuke really stupid ones.
Diffstat (limited to 'sbin/pdisk/partition_map.h')
-rw-r--r--sbin/pdisk/partition_map.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/sbin/pdisk/partition_map.h b/sbin/pdisk/partition_map.h
index 6cad03f4e0a..4207811beac 100644
--- a/sbin/pdisk/partition_map.h
+++ b/sbin/pdisk/partition_map.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: partition_map.h,v 1.16 2016/01/17 19:39:20 krw Exp $ */
+/* $OpenBSD: partition_map.h,v 1.17 2016/01/17 23:18:19 krw Exp $ */
-//
-// partition_map.h - partition map routines
-//
-// Written by Eryk Vershen
-//
+/*
+ * partition_map.h - partition map routines
+ *
+ * Written by Eryk Vershen
+ */
/*
* Copyright 1996,1998 by Apple Computer, Inc.
@@ -42,11 +42,11 @@ struct partition_map_header {
int writable;
int changed;
int written;
- int physical_block; // must be == sbBlockSize
- int logical_block; // must be <= physical_block
+ int physical_block; /* must be == sbBlockSize */
+ int logical_block; /* must be <= physical_block */
int blocks_in_map;
int maximum_in_map;
- unsigned long media_size; // in logical_blocks
+ unsigned long media_size; /* in logical_blocks */
};
struct partition_map {
@@ -63,10 +63,10 @@ struct partition_map {
/* Identifies the HFS kind. */
enum {
- kHFS_not = 0, // ' '
- kHFS_std = 1, // 'h'
- kHFS_embed = 2, // 'e'
- kHFS_plus = 3 // '+'
+ kHFS_not = 0, /* ' ' */
+ kHFS_std = 1, /* 'h' */
+ kHFS_embed = 2, /* 'e' */
+ kHFS_plus = 3 /* '+' */
};
extern const char * kFreeType;