diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
commit | f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41 (patch) | |
tree | 6b83fdf6eb5926c2f3d175a83d24bf5a2611a012 /sys/nfs/nfs_bio.c | |
parent | fa074287a4952da8528838c7812d02678e4c7205 (diff) | |
download | src-f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41.tar.gz src-f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41.zip |
Fix up some sloppy coding practices:
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
Notes
Notes:
svn path=/head/; revision=2112
Diffstat (limited to 'sys/nfs/nfs_bio.c')
-rw-r--r-- | sys/nfs/nfs_bio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index 381d8e34b5c6..fe28e7cb0b17 100644 --- a/sys/nfs/nfs_bio.c +++ b/sys/nfs/nfs_bio.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_bio.c 8.5 (Berkeley) 1/4/94 - * $Id: nfs_bio.c,v 1.3 1994/08/02 07:52:05 davidg Exp $ + * $Id: nfs_bio.c,v 1.4 1994/08/08 09:11:41 davidg Exp $ */ #include <sys/param.h> @@ -56,7 +56,7 @@ #include <nfs/nfsmount.h> #include <nfs/nqnfs.h> -struct buf *incore(), *nfs_getcacheblk(); +struct buf *nfs_getcacheblk(); extern struct proc *nfs_iodwant[NFS_MAXASYNCDAEMON]; extern int nfs_numasync; |