summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-12-20 20:51:42 +0000
committerRoland McGrath <roland@gnu.org>1998-12-20 20:51:42 +0000
commitdeb3c079c84038e7562a4de8902d822d8a137352 (patch)
treea0dc4a5826db9b1bf028b04810be84f66bbce5ad
parent48148f260858f75ce36c2dca8f85819619d6a847 (diff)
1998-12-20 Roland McGrath <roland@baalperazim.frob.com>
* nfsd.h: Include <rpc/types.h>. (bool_t, enum_t): Remove typedefs.
-rw-r--r--nfsd/nfsd.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/nfsd/nfsd.h b/nfsd/nfsd.h
index 57aac273..ba423f2d 100644
--- a/nfsd/nfsd.h
+++ b/nfsd/nfsd.h
@@ -1,5 +1,5 @@
-/*
- Copyright (C) 1996 Free Software Foundation, Inc.
+/*
+ Copyright (C) 1996, 98 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -18,14 +18,12 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
-typedef int bool_t;
-typedef int enum_t;
-
#include <sys/types.h>
#include <sys/socket.h>
#include <errno.h>
#include <netinet/in.h>
#include <cthreads.h>
+#include <rpc/types.h>
#include "../nfs/nfs-spec.h" /* XXX */
#include <hurd/fs.h>
@@ -35,7 +33,7 @@ typedef int enum_t;
#define REPLY_KEEP_TIMEOUT 120 /* two minutes */
#define MAXIOSIZE 10240
-struct idspec
+struct idspec
{
struct idspec *next, **prevp;
int nuids, ngids;
@@ -74,7 +72,7 @@ struct procedure
int process_error;
};
-struct proctable
+struct proctable
{
int min;
int max;