summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2005-10-18 13:35:08 +0000
committerdes <des@FreeBSD.org>2005-10-18 13:35:08 +0000
commit4426988f2cb04949622ba372ee897bc875ff09d8 (patch)
treec3bedf787323e3413f9d2148a197b34c772fdc78 /lib/libstand
parent35136ff29a00e282b18404fe4e1adebd8e2d0d12 (diff)
downloadFreeBSD-src-4426988f2cb04949622ba372ee897bc875ff09d8.zip
FreeBSD-src-4426988f2cb04949622ba372ee897bc875ff09d8.tar.gz
Implement the full range of ISO9660 number conversion routines in iso.h.
MFC after: 2 weeks
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/cd9660.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/libstand/cd9660.c b/lib/libstand/cd9660.c
index 1c43e75..449480b 100644
--- a/lib/libstand/cd9660.c
+++ b/lib/libstand/cd9660.c
@@ -118,21 +118,6 @@ struct ptable_ent {
#define cdb2devb(bno) ((bno) * ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE)
-/* XXX these should be in the system headers */
-static __inline int
-isonum_722(p)
- u_char *p;
-{
- return (*p << 8)|p[1];
-}
-
-static __inline int
-isonum_732(p)
- u_char *p;
-{
- return (*p << 24)|(p[1] << 16)|(p[2] << 8)|p[3];
-}
-
static ISO_SUSP_HEADER *
susp_lookup_record(struct open_file *f, const char *identifier,
struct iso_directory_record *dp, int lenskip)
OpenPOWER on IntegriCloud