svn commit: r356213 - head/usr.bin/nfsstat
Rick Macklem
rmacklem at FreeBSD.org
Tue Dec 31 00:07:10 UTC 2019
Author: rmacklem
Date: Tue Dec 31 00:07:10 2019
New Revision: 356213
URL: https://svnweb.freebsd.org/changeset/base/356213
Log:
Replace .h files included from old NFS directories with the new NFS ones.
Prior to this patch, nfsstat.c includes files from sys/nfs, sys/nfsclient
and sys/nfsserver. These .h files (particularily the ones in sys/nfsclient
and sys/nfsserver) are from the old NFS code and should eventually be
deprecated/removed.
This patch changes nfsstat.c to include files from the new/current NFS
code instead of the old ones in preparation for eventual removal.
Modified:
head/usr.bin/nfsstat/nfsstat.c
Modified: head/usr.bin/nfsstat/nfsstat.c
==============================================================================
--- head/usr.bin/nfsstat/nfsstat.c Tue Dec 31 00:05:06 2019 (r356212)
+++ head/usr.bin/nfsstat/nfsstat.c Tue Dec 31 00:07:10 2019 (r356213)
@@ -79,11 +79,9 @@ static const char rcsid[] =
#include <sys/mount.h>
#include <sys/time.h>
#include <sys/sysctl.h>
-#include <nfs/nfsproto.h>
-#include <nfsclient/nfs.h>
-#include <nfsserver/nfs.h>
#include <nfs/nfssvc.h>
+#include <fs/nfs/nfsproto.h>
#include <fs/nfs/nfsport.h>
#include <signal.h>
More information about the svn-src-all
mailing list