retire PUBLIC, PRIVATE and FORWARD
This commit is contained in:
@@ -11,14 +11,14 @@
|
||||
#include "super.h"
|
||||
#include <minix/vfsif.h>
|
||||
|
||||
FORWARD struct inode *new_node(struct inode *ldirp, char *string, mode_t
|
||||
static struct inode *new_node(struct inode *ldirp, char *string, mode_t
|
||||
bits, block_t z0);
|
||||
|
||||
|
||||
/*===========================================================================*
|
||||
* fs_create *
|
||||
*===========================================================================*/
|
||||
PUBLIC int fs_create()
|
||||
int fs_create()
|
||||
{
|
||||
phys_bytes len;
|
||||
int r;
|
||||
@@ -78,7 +78,7 @@ PUBLIC int fs_create()
|
||||
/*===========================================================================*
|
||||
* fs_mknod *
|
||||
*===========================================================================*/
|
||||
PUBLIC int fs_mknod()
|
||||
int fs_mknod()
|
||||
{
|
||||
struct inode *ip, *ldirp;
|
||||
char lastc[NAME_MAX + 1];
|
||||
@@ -114,7 +114,7 @@ PUBLIC int fs_mknod()
|
||||
/*===========================================================================*
|
||||
* fs_mkdir *
|
||||
*===========================================================================*/
|
||||
PUBLIC int fs_mkdir()
|
||||
int fs_mkdir()
|
||||
{
|
||||
int r1, r2; /* status codes */
|
||||
ino_t dot, dotdot; /* inode numbers for . and .. */
|
||||
@@ -184,7 +184,7 @@ PUBLIC int fs_mkdir()
|
||||
/*===========================================================================*
|
||||
* fs_slink *
|
||||
*===========================================================================*/
|
||||
PUBLIC int fs_slink()
|
||||
int fs_slink()
|
||||
{
|
||||
phys_bytes len;
|
||||
struct inode *sip; /* inode containing symbolic link */
|
||||
@@ -275,7 +275,7 @@ PUBLIC int fs_slink()
|
||||
/*===========================================================================*
|
||||
* new_node *
|
||||
*===========================================================================*/
|
||||
PRIVATE struct inode *new_node(struct inode *ldirp,
|
||||
static struct inode *new_node(struct inode *ldirp,
|
||||
char *string, mode_t bits, block_t b0)
|
||||
{
|
||||
/* New_node() is called by fs_open(), fs_mknod(), and fs_mkdir().
|
||||
@@ -349,7 +349,7 @@ PRIVATE struct inode *new_node(struct inode *ldirp,
|
||||
/*===========================================================================*
|
||||
* fs_inhibread *
|
||||
*===========================================================================*/
|
||||
PUBLIC int fs_inhibread()
|
||||
int fs_inhibread()
|
||||
{
|
||||
struct inode *rip;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user