fixed '#ifdef NFS' appropriately.

This commit is contained in:
glass 1993-04-10 20:18:57 +00:00
parent 88bd702a3e
commit ff2c06d490
3 changed files with 10 additions and 10 deletions

View File

@ -146,14 +146,14 @@ int getrlimit();
int setrlimit();
int setsid();
int quotactl();
#ifdef NFS
#ifdef NFSSERVER
int nfssvc();
#else
#endif
int getdirentries();
int statfs();
int fstatfs();
#ifdef NFS
#ifdef NFSCLIENT
int async_daemon();
int getfh();
#else
@ -200,10 +200,10 @@ int ogetpeername();
int okillpg();
int oquota();
int ogetsockname();
#ifdef NFS
#ifdef NFSSERVER
#else
#endif
#ifdef NFS
#ifdef NFSCLIENT
#else
#endif
#ifdef SYSVSHM
@ -386,7 +386,7 @@ struct sysent sysent[] = {
0, nosys, /* 152 = nosys */
0, nosys, /* 153 = nosys */
0, nosys, /* 154 = nosys */
#ifdef NFS
#ifdef NFSSERVER
5, nfssvc, /* 155 = nfssvc */
#else
0, nosys, /* 155 = nosys */
@ -395,7 +395,7 @@ struct sysent sysent[] = {
2, statfs, /* 157 = statfs */
2, fstatfs, /* 158 = fstatfs */
0, nosys, /* 159 = nosys */
#ifdef NFS
#ifdef NFSCLIENT
0, async_daemon, /* 160 = async_daemon */
2, getfh, /* 161 = getfh */
#else

View File

@ -177,7 +177,7 @@ char *syscallnames[] = {
"#152", /* 152 = nosys */
"#153", /* 153 = nosys */
"#154", /* 154 = nosys */
#ifdef NFS
#ifdef NFSSERVER
"nfssvc", /* 155 = nfssvc */
#else
"#155", /* 155 = nosys */
@ -186,7 +186,7 @@ char *syscallnames[] = {
"statfs", /* 157 = statfs */
"fstatfs", /* 158 = fstatfs */
"#159", /* 159 = nosys */
#ifdef NFS
#ifdef NFSCLIENT
"async_daemon", /* 160 = async_daemon */
"getfh", /* 161 = getfh */
#else

View File

@ -55,7 +55,7 @@ struct vnode *rootdir;
*/
extern struct vfsops ufs_vfsops;
#ifdef NFS
#ifdef NFSCLIENT
extern struct vfsops nfs_vfsops;
#endif
@ -82,7 +82,7 @@ extern struct vfsops kernfs_vfsops;
struct vfsops *vfssw[] = {
(struct vfsops *)0, /* 0 = MOUNT_NONE */
&ufs_vfsops, /* 1 = MOUNT_UFS */
#ifdef NFS
#ifdef NFSCLIENT
&nfs_vfsops, /* 2 = MOUNT_NFS */
#else
(struct vfsops *)0,