summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-22 15:07:50 +0000
committerphk <phk@FreeBSD.org>2002-10-22 15:07:50 +0000
commit35c355e2f2817a04cf13bc31e7bafec746390fe2 (patch)
treec11278cd592cc6a6642d0eeb28c6edac5e8dedde /lib
parent6bcf9ad3c5e18979edcbe3c1046b024a5cf81d90 (diff)
downloadFreeBSD-src-35c355e2f2817a04cf13bc31e7bafec746390fe2.zip
FreeBSD-src-35c355e2f2817a04cf13bc31e7bafec746390fe2.tar.gz
Remove the last traces of bogus MAKEDEV functionality.
Diffstat (limited to 'lib')
-rw-r--r--lib/libdisk/create_chunk.c17
-rw-r--r--lib/libdisk/libdisk.h7
2 files changed, 0 insertions, 24 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 5efe0d9..bc0acb0 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -233,20 +233,3 @@ Create_Chunk_DWIM(struct disk *d, const struct chunk *parent , u_long size, chun
/* barfout(1, "Serious internal trouble"); */
return 0;
}
-
-int
-MakeDevChunk(const struct chunk *c1, const char *path)
-{
-
- if (c1->next)
- MakeDevChunk(c1->next, path);
- if (c1->part)
- MakeDevChunk(c1->part, path);
- return 1;
-}
-
-int
-MakeDevDisk(struct disk *d, const char *path)
-{
- return MakeDevChunk(d->chunks, path);
-}
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h
index 8790e7d..bf0d263 100644
--- a/lib/libdisk/libdisk.h
+++ b/lib/libdisk/libdisk.h
@@ -238,13 +238,6 @@ Create_Chunk_DWIM(struct disk *d, const struct chunk *parent , u_long size,
* enough is used.
*/
-int
-MakeDev(struct chunk *c, const char *path);
-
-int
-MakeDevDisk(struct disk *d, const char *path);
-/* Make device nodes for all chunks on this disk */
-
char *
ShowChunkFlags(struct chunk *c);
/* Return string to show flags. */
OpenPOWER on IntegriCloud