From: Chuck Lever Subject: [PATCH 13/14] text-based mount command: remove unnecessary headers from stropts.c Date: Fri, 11 Jul 2008 16:35:23 -0400 Message-ID: <20080711203523.478.71669.stgit@tarkus.1015granger.net> References: <20080711203322.478.52095.stgit@tarkus.1015granger.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Cc: linux-nfs@vger.kernel.org To: steved@redhat.com Return-path: Received: from agminet01.oracle.com ([141.146.126.228]:12442 "EHLO agminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756432AbYGKUfk (ORCPT ); Fri, 11 Jul 2008 16:35:40 -0400 In-Reply-To: <20080711203322.478.52095.stgit-lQeC5l55kZ7wdl/1UfZZQIVfYA8g3rJ/@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: Clean up: remove unneeded headers from utils/mount/stropts.c. Signed-off-by: Chuck Lever --- utils/mount/stropts.c | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index b54df40..e4a4408 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -25,11 +25,7 @@ #include #endif -#include #include -#include -#include -#include #include #include #include @@ -42,7 +38,6 @@ #include "xcommon.h" #include "mount.h" #include "nls.h" -#include "nfs_mount.h" #include "mount_constants.h" #include "stropts.h" #include "error.h" @@ -51,15 +46,12 @@ #include "version.h" #include "parse_dev.h" -#ifdef HAVE_RPCSVC_NFS_PROT_H -#include -#else -#include -#define nfsstat nfs_stat +#ifndef NFS_PROGRAM +#define NFS_PROGRAM (100003) #endif #ifndef NFS_PORT -#define NFS_PORT 2049 +#define NFS_PORT (2049) #endif #ifndef NFS_MAXHOSTNAME