Fix compiler warnings
This commit is contained in:
parent
490e0de548
commit
4311136125
3 changed files with 2 additions and 3 deletions
|
@ -30,6 +30,7 @@
|
|||
__RCSID("$NetBSD: pnode.c,v 1.10 2008/08/12 19:44:39 pooka Exp $");
|
||||
#endif /* !lint */
|
||||
|
||||
#include <minix/type.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -39,6 +40,7 @@ __RCSID("$NetBSD: pnode.c,v 1.10 2008/08/12 19:44:39 pooka Exp $");
|
|||
|
||||
#include "puffs.h"
|
||||
#include "puffs_priv.h"
|
||||
#include "proto.h"
|
||||
|
||||
/*
|
||||
* Well, you're probably wondering why this isn't optimized.
|
||||
|
|
|
@ -17,7 +17,6 @@ FORWARD _PROTOTYPE( int in_group, (gid_t grp) );
|
|||
PUBLIC int fs_chmod()
|
||||
{
|
||||
/* Perform the chmod(name, mode) system call. */
|
||||
int r;
|
||||
struct puffs_node *pn;
|
||||
mode_t mode;
|
||||
struct vattr va;
|
||||
|
@ -52,7 +51,6 @@ PUBLIC int fs_chmod()
|
|||
*===========================================================================*/
|
||||
PUBLIC int fs_chown()
|
||||
{
|
||||
int r;
|
||||
struct puffs_node *pn;
|
||||
struct vattr va;
|
||||
PUFFS_MAKECRED(pcr, &global_kcred);
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*===========================================================================*/
|
||||
PUBLIC int fs_utime()
|
||||
{
|
||||
int r;
|
||||
struct puffs_node *pn;
|
||||
struct vattr va;
|
||||
PUFFS_MAKECRED(pcr, &global_kcred);
|
||||
|
|
Loading…
Reference in a new issue