summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-08-13 09:21:38 +0000
committerpeter <peter@FreeBSD.org>1996-08-13 09:21:38 +0000
commitf7b4db0557177ace5810a3905ec4eaea478862b2 (patch)
treeaf8b098fef7bcacf20d408a48419a873af8952b4 /usr.sbin
parent72e76de98b5f5e79b11ef4c422ffdbbfe10d2f68 (diff)
downloadFreeBSD-src-f7b4db0557177ace5810a3905ec4eaea478862b2.zip
FreeBSD-src-f7b4db0557177ace5810a3905ec4eaea478862b2.tar.gz
Fix a few minor type problems that turned up with gcc-2.7.2
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/amd/amd/amd.c3
-rw-r--r--usr.sbin/amd/amd/misc_rpc.c4
-rw-r--r--usr.sbin/amd/config/os-bsd44.h4
3 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/amd/amd/amd.c b/usr.sbin/amd/amd/amd.c
index 4a565b5..5d2b082 100644
--- a/usr.sbin/amd/amd/amd.c
+++ b/usr.sbin/amd/amd/amd.c
@@ -37,7 +37,7 @@
*
* @(#)amd.c 8.1 (Berkeley) 6/6/93
*
- * $Id: amd.c,v 1.1.1.1 1994/05/26 05:22:00 rgrimes Exp $
+ * $Id: amd.c,v 1.2 1995/08/24 10:22:06 dfr Exp $
*
*/
@@ -55,6 +55,7 @@ static char copyright[] =
#include <sys/signal.h>
#include <sys/ioctl.h>
#include <fcntl.h>
+#include <unistd.h>
#include <setjmp.h>
char pid_fsname[16 + MAXHOSTNAMELEN]; /* "kiska.southseas.nz:(pid%d)" */
diff --git a/usr.sbin/amd/amd/misc_rpc.c b/usr.sbin/amd/amd/misc_rpc.c
index e982f78..e7c9f39 100644
--- a/usr.sbin/amd/amd/misc_rpc.c
+++ b/usr.sbin/amd/amd/misc_rpc.c
@@ -37,7 +37,7 @@
*
* @(#)misc_rpc.c 8.1 (Berkeley) 6/6/93
*
- * $Id: misc_rpc.c,v 1.1.1.1 1994/05/26 05:22:01 rgrimes Exp $
+ * $Id: misc_rpc.c,v 1.2 1995/05/30 03:45:51 rgrimes Exp $
*
*/
@@ -134,7 +134,7 @@ AUTH *auth;
/*
* Called procedure number
*/
- if (!xdr_enum(&msg_xdr, &proc))
+ if (!xdr_enum(&msg_xdr, (enum_t *)&proc))
return -EIO;
/*
* Authorization
diff --git a/usr.sbin/amd/config/os-bsd44.h b/usr.sbin/amd/config/os-bsd44.h
index 0c12d22..060f7d7 100644
--- a/usr.sbin/amd/config/os-bsd44.h
+++ b/usr.sbin/amd/config/os-bsd44.h
@@ -37,7 +37,7 @@
*
* @(#)os-bsd44.h 8.1 (Berkeley) 6/6/93
*
- * $Id: os-bsd44.h,v 1.3 1995/06/27 11:07:27 dfr Exp $
+ * $Id: os-bsd44.h,v 1.4 1996/01/09 08:49:21 graichen Exp $
*
* 4.4 BSD definitions for Amd (automounter)
*/
@@ -172,7 +172,7 @@ struct mntent {
*/
#undef NFS_FH_TYPE
#ifdef NFSv3
-#define NFS_FH_TYPE fhandle_t *
+#define NFS_FH_TYPE u_char *
#else
#define NFS_FH_TYPE nfsv2fh_t *
#endif
OpenPOWER on IntegriCloud