diff options
author | joerg <joerg@FreeBSD.org> | 1997-05-07 13:23:04 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-05-07 13:23:04 +0000 |
commit | d410fc5c91cfa49f1f4989613d217b6d83d469a8 (patch) | |
tree | 50192c60a6d6abfe50af0a80d03f35ac801945b9 /sys/isofs | |
parent | 7a6376d97fd668549aed3f059de7e15981ab5ba1 (diff) | |
download | FreeBSD-src-d410fc5c91cfa49f1f4989613d217b6d83d469a8.zip FreeBSD-src-d410fc5c91cfa49f1f4989613d217b6d83d469a8.tar.gz |
Hide the kernel-only stuff inside #ifdef KERNEL.
XXX should be #ifdef _KERNEL
XXX^2 the !KERNEL part should probably be moved out into a publically
visible header file anyway.
Diffstat (limited to 'sys/isofs')
-rw-r--r-- | sys/isofs/cd9660/iso.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/sys/isofs/cd9660/iso.h b/sys/isofs/cd9660/iso.h index 7a05115..7b50fb6 100644 --- a/sys/isofs/cd9660/iso.h +++ b/sys/isofs/cd9660/iso.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)iso.h 8.6 (Berkeley) 5/10/95 - * $Id: iso.h,v 1.14 1997/05/04 15:24:22 joerg Exp $ + * $Id: iso.h,v 1.15 1997/05/04 16:17:49 joerg Exp $ */ #define ISODCL(from, to) (to - from + 1) @@ -171,6 +171,8 @@ struct iso_extended_attributes { u_char len_au [ISODCL (247, 250)]; /* 723 */ }; +#ifdef KERNEL + /* CD-ROM Format type */ enum ISO_FTYPE { ISO_FTYPE_DEFAULT, ISO_FTYPE_9660, ISO_FTYPE_RRIP, ISO_FTYPE_ECMA, ISO_FTYPE_HIGH_SIERRA }; @@ -219,6 +221,17 @@ extern vop_t **cd9660_vnodeop_p; extern vop_t **cd9660_specop_p; extern vop_t **cd9660_fifoop_p; +int isofncmp __P((u_char *, int, u_char *, int)); +void isofntrans __P((u_char *, int, u_char *, u_short *, int, int)); +ino_t isodirino __P((struct iso_directory_record *, struct iso_mnt *)); + +#endif /* KERNEL */ + +/* + * The isonum_xxx functions are inlined anyway, and could come handy even + * outside the kernel. Thus we don't hide them here. + */ + static __inline int isonum_711 __P((u_char *)); static __inline int isonum_711(p) @@ -293,10 +306,6 @@ isonum_733(p) #endif /* UNALIGNED_ACCESS */ -int isofncmp __P((u_char *, int, u_char *, int)); -void isofntrans __P((u_char *, int, u_char *, u_short *, int, int)); -ino_t isodirino __P((struct iso_directory_record *, struct iso_mnt *)); - /* * Associated files have a leading '='. */ |