diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-22 10:51:58 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-22 10:51:58 +0000 |
| commit | 1e08b0a6376efef74dbc8975e4c6cf9267d0ecf6 (patch) | |
| tree | 26f0bd91bd85cfd83899ea119406ae967380a962 /lib/libdisk/libdisk.h | |
| parent | cf8cc48964d25a35df38eb280057a38b0d87bffe (diff) | |
Notes
Diffstat (limited to 'lib/libdisk/libdisk.h')
| -rw-r--r-- | lib/libdisk/libdisk.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h index 86f786ab3c39..8790e7d3305e 100644 --- a/lib/libdisk/libdisk.h +++ b/lib/libdisk/libdisk.h @@ -56,9 +56,7 @@ struct chunk { long offset; u_long size; u_long end; -#ifdef PC98 - char *sname; -#endif + char *sname; /* PC98 field */ char *name; char *oname; /* Used during Fixup_Names() to avoid renaming more than @@ -158,13 +156,8 @@ Collapse_Chunk(struct disk *disk, struct chunk *chunk); */ int -#ifdef PC98 Create_Chunk(struct disk *disk, u_long offset, u_long size, chunk_e type, int subtype, u_long flags, const char *); -#else -Create_Chunk(struct disk *disk, u_long offset, u_long size, chunk_e type, - int subtype, u_long flags); -#endif /* Create a chunk with the specified paramters */ @@ -263,11 +256,7 @@ ShowChunkFlags(struct chunk *c); void Debug_Chunk(struct chunk *); void Free_Chunk(struct chunk *); struct chunk * Clone_Chunk(const struct chunk *); -#ifdef PC98 int Add_Chunk(struct disk *, long, u_long, const char *, chunk_e, int, u_long, const char *); -#else -int Add_Chunk(struct disk *, long, u_long, const char *, chunk_e, int, u_long); -#endif void * read_block(int, daddr_t, u_long); int write_block(int, daddr_t, const void *, u_long); struct disklabel * read_disklabel(int, daddr_t, u_long); |
