Add prototypes for the xxx_lkmentry() functions, and enable WARNS=1.

This commit is contained in:
simonb 2000-03-21 11:45:56 +00:00
parent 48d556091f
commit 4fd796d7d7
17 changed files with 54 additions and 18 deletions

View File

@ -1,8 +1,10 @@
# $NetBSD: Makefile.inc,v 1.2 1999/09/12 01:17:33 chs Exp $
# $NetBSD: Makefile.inc,v 1.3 2000/03/21 11:45:56 simonb Exp $
.if !defined(__SYS_LKM_MAKEFILE_INC)
__SYS_LKM_MAKEFILE_INC= 1
.include <bsd.own.mk>
WARNS?= 1
.endif # __SYS_LKM_MAKEFILE_INC

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.2 1998/02/18 07:18:21 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.3 2000/03/21 11:45:57 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int adosfs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.1.1.1 1998/09/25 15:01:56 rvb Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.2 2000/03/21 11:45:58 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -48,6 +48,8 @@
#include <coda/coda_psdev.h>
int coda_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/
@ -83,7 +85,9 @@ struct cdevsw codadevsw = {
MOD_DEV("codadev", LM_DT_CHAR, 60, &codadevsw);
*/
struct lkm_dev coda_lkm_dev = {
LM_DEV, LKM_VERSION, "codadev", 60, LM_DT_CHAR, (void *) &codadevsw};
LM_DEV, LKM_VERSION, "codadev", 60, LM_DT_CHAR,
{ (void *) &codadevsw }
};
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:21 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.4 2000/03/21 11:45:58 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int cd9660_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:21 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.4 2000/03/21 11:45:58 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int fdesc_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:22 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.4 2000/03/21 11:45:58 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int kernfs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.4 1998/02/18 07:18:22 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.5 2000/03/21 11:45:59 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int nullfs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.1 2000/01/20 19:06:15 wrstuden Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.2 2000/03/21 11:45:59 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int overlay_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:22 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.4 2000/03/21 11:45:59 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int portal_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:22 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.4 2000/03/21 11:45:59 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int procfs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.4 1998/02/18 07:18:22 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.5 2000/03/21 11:45:59 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int umapfs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:23 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.4 2000/03/21 11:46:00 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int msdosfs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.3 1999/09/05 10:57:01 jdolecek Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.4 2000/03/21 11:46:00 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int ntfs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.1 1998/09/29 10:26:58 bouyer Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.2 2000/03/21 11:46:00 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int ext2fs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:23 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.4 2000/03/21 11:46:00 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int ffs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_lfs.c,v 1.3 1998/02/18 07:18:23 thorpej Exp $ */
/* $NetBSD: lkminit_lfs.c,v 1.4 2000/03/21 11:46:01 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int lfs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:23 thorpej Exp $ */
/* $NetBSD: lkminit_vfs.c,v 1.4 2000/03/21 11:46:01 simonb Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,6 +46,8 @@
#include <sys/file.h>
#include <sys/errno.h>
int mfs_lkmentry __P((struct lkm_table *, int, int));
/*
* This is the vfsops table for the file system in question
*/