aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-08-13 09:21:38 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-08-13 09:21:38 +0000
commit403b820b678c7b67e5c168a725c23c7c5af76bb7 (patch)
treeaf8b098fef7bcacf20d408a48419a873af8952b4 /usr.sbin/amd
parent2db86e5b74cbc5ee1af135878f702eb72b259df3 (diff)
downloadsrc-403b820b678c7b67e5c168a725c23c7c5af76bb7.tar.gz
src-403b820b678c7b67e5c168a725c23c7c5af76bb7.zip
Fix a few minor type problems that turned up with gcc-2.7.2
Notes
Notes: svn path=/head/; revision=17572
Diffstat (limited to 'usr.sbin/amd')
-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 4a565b5ef41f..5d2b082a802e 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 e982f786f092..e7c9f396424f 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 0c12d2242e6e..060f7d7efde8 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