Cosmetic changes.

This commit is contained in:
Philip Homburg 2006-01-27 13:26:42 +00:00
parent 38a16399f8
commit f4ae126596
2 changed files with 6 additions and 7 deletions

View file

@ -215,8 +215,7 @@ PRIVATE struct inode *new_node(struct inode **ldirp,
register int r;
char string[NAME_MAX];
*ldirp = parse_path(path, string, opaque ? LAST_DIR : LAST_DIR_EATSYM)
;
*ldirp = parse_path(path, string, opaque ? LAST_DIR : LAST_DIR_EATSYM);
if (*ldirp == NIL_INODE) return(NIL_INODE);
/* The final directory is accessible. Get final component of the path. */
@ -489,7 +488,7 @@ PUBLIC int do_lseek()
}
/*===========================================================================*
* do_slink *
* do_slink *
*===========================================================================*/
PUBLIC int do_slink()
{

View file

@ -28,7 +28,7 @@ FORWARD _PROTOTYPE( struct inode *ltraverse, (struct inode *rip,
char *path, char *suffix, struct inode *ldip) );
/*===========================================================================*
* parse_path *
* parse_path *
*===========================================================================*/
PUBLIC struct inode *parse_path(path, string, action)
char *path; /* the path name to be parsed */
@ -125,7 +125,7 @@ int action; /* action on last part of path */
}
/*===========================================================================*
* eat_path *
* eat_path *
*===========================================================================*/
PUBLIC struct inode *eat_path(path)
char *path; /* the path name to be parsed */
@ -138,7 +138,7 @@ char *path; /* the path name to be parsed */
}
/*===========================================================================*
* last_dir *
* last_dir *
*===========================================================================*/
PUBLIC struct inode *last_dir(path, string)
char *path; /* the path name to be parsed */
@ -156,7 +156,7 @@ char string[NAME_MAX]; /* the final component is returned here */
}
/*===========================================================================*
* ltraverse *
* ltraverse *
*===========================================================================*/
PRIVATE struct inode *ltraverse(rip, path, suffix, ldip)
register struct inode *rip; /* symbolic link */