summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660/cd9660_vfsops.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-09-15 19:46:03 +0000
committerbde <bde@FreeBSD.org>1994-09-15 19:46:03 +0000
commit1bfaf25b30ba76f2f7d7cec0cd52127fdf3b4ffb (patch)
treec3150fd7aa74cfe6417d8ec490b828977b8c1971 /sys/fs/cd9660/cd9660_vfsops.c
parent019579bbf98ca36993865b913cb8d08f468c4c54 (diff)
downloadFreeBSD-src-1bfaf25b30ba76f2f7d7cec0cd52127fdf3b4ffb.zip
FreeBSD-src-1bfaf25b30ba76f2f7d7cec0cd52127fdf3b4ffb.tar.gz
Obtained from:
Remove the unnecessary inclusion of disklabel.h in cd9660_vfsops.c so that I don't have to worry about the latter when changing disklabel.h. Supply prototypes for some functions that were implicitly declared and fix the resulting warnings and errors (timevals were punned to timespecs).
Diffstat (limited to 'sys/fs/cd9660/cd9660_vfsops.c')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 7f2d1c3..a021370 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_vfsops.c 8.3 (Berkeley) 1/31/94
- * $Id: cd9660_vfsops.c,v 1.4 1994/08/20 03:48:45 davidg Exp $
+ * $Id: cd9660_vfsops.c,v 1.5 1994/08/20 16:03:07 davidg Exp $
*/
#include <sys/param.h>
@@ -50,13 +50,13 @@
#include <sys/buf.h>
#include <sys/file.h>
#include <sys/dkbad.h>
-#include <sys/disklabel.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/malloc.h>
#include <isofs/cd9660/iso.h>
#include <isofs/cd9660/cd9660_node.h>
+#include <isofs/cd9660/iso_rrip.h>
struct vfsops cd9660_vfsops = {
cd9660_mount,
@@ -79,7 +79,8 @@ struct vfsops cd9660_vfsops = {
*/
#define ROOTNAME "root_device"
-static iso_mountfs();
+static int iso_mountfs __P((struct vnode *devvp, struct mount *mp,
+ struct proc *p, struct iso_args *argp));
int
cd9660_mountroot()
OpenPOWER on IntegriCloud