summaryrefslogtreecommitdiff
path: root/usr.sbin/amd/include
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1996-12-04 22:59:01 +0000
committerthorpej <thorpej@NetBSD.org>1996-12-04 22:59:01 +0000
commitb71cc83108eb548d664a3758d9328fa5f410855c (patch)
tree5c8ca66cb4fb57495482446e0d93544f693cb341 /usr.sbin/amd/include
parent7cec90e7ea49191caae8694568310b59e5381b54 (diff)
Do a 64-bit `friendliness' sweep, making amd(8) work on the alpha.
XXX These aren't the prettiest diffs in the world, but making them XXX nicer would require a bit of restructuring of the code and XXX possible amq protocol.
Diffstat (limited to 'usr.sbin/amd/include')
-rw-r--r--usr.sbin/amd/include/am.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/amd/include/am.h b/usr.sbin/amd/include/am.h
index 1739d56e221..4e5b10b0cf8 100644
--- a/usr.sbin/amd/include/am.h
+++ b/usr.sbin/amd/include/am.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)am.h 5.6 (Berkeley) 6/6/93
- * $Id: am.h,v 1.4 1996/02/19 20:57:56 christos Exp $
+ * $Id: am.h,v 1.5 1996/12/04 22:59:14 thorpej Exp $
*
*/
@@ -49,6 +49,8 @@
#include <sys/socket.h>
#include <rpc/rpc.h>
#include <sys/mount.h>
+#include <string.h>
+#include <stdlib.h>
#ifdef MNTENT_HDR
#include MNTENT_HDR
#endif /* MNTENT_HDR */
@@ -257,11 +259,11 @@ extern char *hasmntopt P((struct mntent*, char*));
#endif /* NEED_MNTOPT_PARSER */
extern int hasmntval P((struct mntent*, char*));
extern void host_normalize P((char **));
-extern char *inet_dquad P((char*, unsigned long));
+extern char *inet_dquad P((char*, u_int32_t));
extern void init_map P((am_node*, char*));
extern void insert_am P((am_node*, am_node*));
extern void ins_que P((qelem*, qelem*));
-extern int islocalnet P((unsigned long));
+extern int islocalnet P((u_int32_t));
extern int make_nfs_auth P((void));
extern void make_root_node(P_void);
extern int make_rpc_packet P((char*, int, u_long, struct rpc_msg*, voidp, xdrproc_t, AUTH*));
@@ -311,7 +313,6 @@ extern char* str3cat P((char*, char*, char*, char*));
extern char* strcat P((char*, Const char*)); /* C */
extern int strcmp P((Const char*, Const char*)); /* C */
extern char* strdup P((Const char*));
-extern int strlen P((Const char*)); /* C */
extern char* strnsave P((Const char*, int));
extern char* strrchr P((Const char*, int)); /* C */
extern char* strealloc P((char*, char *));