Clean LINT

This commit is contained in:
Robert V. Baron 1998-09-06 20:01:34 +00:00
parent 7c76d5ca4e
commit 03507b2123
9 changed files with 54 additions and 30 deletions

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/cfs_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: $
* $Id: cfs_namecache.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
*
*/
@ -47,6 +47,9 @@
/*
* HISTORY
* $Log: cfs_namecache.c,v $
* Revision 1.2 1998/09/02 19:09:53 rvb
* Pass2 complete
*
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
* Very Preliminary Coda
*
@ -224,6 +227,10 @@
#include <cfs/coda.h>
#include <cfs/cnode.h>
#include <cfs/cfsnc.h>
#ifdef DEBUG
/* for printcred */
#include <cfs/cfs_vnodeops.h>
#endif
/*
* Declaration of the name cache data structure.
@ -861,8 +868,6 @@ cfsnc_resize(hashsize, heapsize, dcstat)
return(0);
}
#define DEBUG
#ifdef DEBUG
char cfsnc_name_buf[CFS_MAXNAMLEN+1];
void
@ -889,4 +894,3 @@ cfsnc_name(struct cnode *cp)
}
}
}
#endif

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/cfs_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: $
* $Id: cfs_subr.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
*
*/
@ -46,6 +46,9 @@
/*
* HISTORY
* $Log: cfs_subr.c,v $
* Revision 1.2 1998/09/02 19:09:53 rvb
* Pass2 complete
*
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
* Very Preliminary Coda
*
@ -453,6 +456,7 @@ cfs_unmounting(whoIam)
}
#ifdef DEBUG
void
cfs_checkunmounting(mp)
struct mount *mp;
{
@ -474,7 +478,7 @@ loop:
}
}
int
void
cfs_cacheprint(whoIam)
struct mount *whoIam;
{
@ -483,7 +487,7 @@ cfs_cacheprint(whoIam)
int count = 0;
printf("cfs_cacheprint: cfs_ctlvp %p, cp %p", cfs_ctlvp, VTOC(cfs_ctlvp));
cfsnc_name(cfs_ctlvp);
cfsnc_name(VTOC(cfs_ctlvp));
printf("\n");
for (hash = 0; hash < CFS_CACHESIZE; hash++) {

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/cfs_subr.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: $
* $Id: cfs_subr.h,v 1.2 1998/09/02 19:09:53 rvb Exp $
*
*/
@ -36,8 +36,8 @@ void cfs_free(struct cnode *cp);
struct cnode *cfs_find(ViceFid *fid);
void cfs_flush(enum dc_status dcstat);
void cfs_testflush(void);
int cfs_checkunmounting(struct mount *mp);
int cfs_cacheprint(struct mount *whoIam);
void cfs_checkunmounting(struct mount *mp);
void cfs_cacheprint(struct mount *whoIam);
void cfs_debugon(void);
void cfs_debugoff(void);
int cfs_kill(struct mount *whoIam, enum dc_status dcstat);

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/cfs_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: $
* $Id: cfs_namecache.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
*
*/
@ -47,6 +47,9 @@
/*
* HISTORY
* $Log: cfs_namecache.c,v $
* Revision 1.2 1998/09/02 19:09:53 rvb
* Pass2 complete
*
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
* Very Preliminary Coda
*
@ -224,6 +227,10 @@
#include <cfs/coda.h>
#include <cfs/cnode.h>
#include <cfs/cfsnc.h>
#ifdef DEBUG
/* for printcred */
#include <cfs/cfs_vnodeops.h>
#endif
/*
* Declaration of the name cache data structure.
@ -861,8 +868,6 @@ cfsnc_resize(hashsize, heapsize, dcstat)
return(0);
}
#define DEBUG
#ifdef DEBUG
char cfsnc_name_buf[CFS_MAXNAMLEN+1];
void
@ -889,4 +894,3 @@ cfsnc_name(struct cnode *cp)
}
}
}
#endif

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/cfs_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: $
* $Id: cfs_subr.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
*
*/
@ -46,6 +46,9 @@
/*
* HISTORY
* $Log: cfs_subr.c,v $
* Revision 1.2 1998/09/02 19:09:53 rvb
* Pass2 complete
*
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
* Very Preliminary Coda
*
@ -453,6 +456,7 @@ cfs_unmounting(whoIam)
}
#ifdef DEBUG
void
cfs_checkunmounting(mp)
struct mount *mp;
{
@ -474,7 +478,7 @@ loop:
}
}
int
void
cfs_cacheprint(whoIam)
struct mount *whoIam;
{
@ -483,7 +487,7 @@ cfs_cacheprint(whoIam)
int count = 0;
printf("cfs_cacheprint: cfs_ctlvp %p, cp %p", cfs_ctlvp, VTOC(cfs_ctlvp));
cfsnc_name(cfs_ctlvp);
cfsnc_name(VTOC(cfs_ctlvp));
printf("\n");
for (hash = 0; hash < CFS_CACHESIZE; hash++) {

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/cfs_subr.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: $
* $Id: cfs_subr.h,v 1.2 1998/09/02 19:09:53 rvb Exp $
*
*/
@ -36,8 +36,8 @@ void cfs_free(struct cnode *cp);
struct cnode *cfs_find(ViceFid *fid);
void cfs_flush(enum dc_status dcstat);
void cfs_testflush(void);
int cfs_checkunmounting(struct mount *mp);
int cfs_cacheprint(struct mount *whoIam);
void cfs_checkunmounting(struct mount *mp);
void cfs_cacheprint(struct mount *whoIam);
void cfs_debugon(void);
void cfs_debugoff(void);
int cfs_kill(struct mount *whoIam, enum dc_status dcstat);

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/cfs_namecache.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: $
* $Id: cfs_namecache.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
*
*/
@ -47,6 +47,9 @@
/*
* HISTORY
* $Log: cfs_namecache.c,v $
* Revision 1.2 1998/09/02 19:09:53 rvb
* Pass2 complete
*
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
* Very Preliminary Coda
*
@ -224,6 +227,10 @@
#include <cfs/coda.h>
#include <cfs/cnode.h>
#include <cfs/cfsnc.h>
#ifdef DEBUG
/* for printcred */
#include <cfs/cfs_vnodeops.h>
#endif
/*
* Declaration of the name cache data structure.
@ -861,8 +868,6 @@ cfsnc_resize(hashsize, heapsize, dcstat)
return(0);
}
#define DEBUG
#ifdef DEBUG
char cfsnc_name_buf[CFS_MAXNAMLEN+1];
void
@ -889,4 +894,3 @@ cfsnc_name(struct cnode *cp)
}
}
}
#endif

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/cfs_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: $
* $Id: cfs_subr.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
*
*/
@ -46,6 +46,9 @@
/*
* HISTORY
* $Log: cfs_subr.c,v $
* Revision 1.2 1998/09/02 19:09:53 rvb
* Pass2 complete
*
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
* Very Preliminary Coda
*
@ -453,6 +456,7 @@ cfs_unmounting(whoIam)
}
#ifdef DEBUG
void
cfs_checkunmounting(mp)
struct mount *mp;
{
@ -474,7 +478,7 @@ loop:
}
}
int
void
cfs_cacheprint(whoIam)
struct mount *whoIam;
{
@ -483,7 +487,7 @@ cfs_cacheprint(whoIam)
int count = 0;
printf("cfs_cacheprint: cfs_ctlvp %p, cp %p", cfs_ctlvp, VTOC(cfs_ctlvp));
cfsnc_name(cfs_ctlvp);
cfsnc_name(VTOC(cfs_ctlvp));
printf("\n");
for (hash = 0; hash < CFS_CACHESIZE; hash++) {

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/cfs_subr.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: $
* $Id: cfs_subr.h,v 1.2 1998/09/02 19:09:53 rvb Exp $
*
*/
@ -36,8 +36,8 @@ void cfs_free(struct cnode *cp);
struct cnode *cfs_find(ViceFid *fid);
void cfs_flush(enum dc_status dcstat);
void cfs_testflush(void);
int cfs_checkunmounting(struct mount *mp);
int cfs_cacheprint(struct mount *whoIam);
void cfs_checkunmounting(struct mount *mp);
void cfs_cacheprint(struct mount *whoIam);
void cfs_debugon(void);
void cfs_debugoff(void);
int cfs_kill(struct mount *whoIam, enum dc_status dcstat);