summaryrefslogtreecommitdiff
path: root/usr.sbin/amd/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-26 02:49:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-26 02:49:51 +0000
commitc47e55249db4f1fb8f4a3f4350fd34be48b2adb3 (patch)
tree4454b5868d641f44ec1eee5952b8ad7cee1dca86 /usr.sbin/amd/include
parent0eb5bf872087d10dc67b98421ccddbadd0461f8b (diff)
pid_cleanup, inspired by work by jason@ackley.net
Diffstat (limited to 'usr.sbin/amd/include')
-rw-r--r--usr.sbin/amd/include/am.h6
-rw-r--r--usr.sbin/amd/include/config.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/amd/include/am.h b/usr.sbin/amd/include/am.h
index 48ed7bfa256..56952692865 100644
--- a/usr.sbin/amd/include/am.h
+++ b/usr.sbin/amd/include/am.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: am.h,v 1.3 1997/01/31 14:42:18 graichen Exp $ */
+/* $OpenBSD: am.h,v 1.4 2002/05/26 02:49:50 deraadt Exp $ */
/*
* Copyright (c) 1990 Jan-Simon Pendry
@@ -222,7 +222,7 @@ typedef struct mnt_map mnt_map;
extern int atoi P((Const char *)); /* C */
extern void am_mounted P((am_node*));
extern void am_unmounted P((am_node*));
-extern int background(P_void);
+extern pid_t background(P_void);
extern int bind_resv_port P((int, unsigned short*));
extern int compute_mount_flags P((struct mntent *));
extern int softclock(P_void);
@@ -279,7 +279,7 @@ extern int mkdirs P((char*, int));
extern void mk_fattr P((am_node*, int));
extern void mnt_free P((struct mntent*));
extern int mount_auto_node P((char*, voidp));
-extern int mount_automounter P((int));
+extern int mount_automounter P((pid_t));
extern int mount_exported(P_void);
extern int mount_fs P((struct mntent*, int, caddr_t, int, MTYPE_TYPE));
/*extern int mount_nfs_fh P((struct fhstatus*, char*, char*, char*, mntfs*));*/
diff --git a/usr.sbin/amd/include/config.h b/usr.sbin/amd/include/config.h
index e85ad924d49..94dae3c9147 100644
--- a/usr.sbin/amd/include/config.h
+++ b/usr.sbin/amd/include/config.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)config.h 8.1 (Berkeley) 6/6/93
- * $Id: config.h,v 1.1 1995/10/18 08:47:21 deraadt Exp $
+ * $Id: config.h,v 1.2 2002/05/26 02:49:50 deraadt Exp $
*/
/*
@@ -82,7 +82,7 @@ extern time_t clock_valid; /* Clock needs recalculating */
extern char *progname; /* "amd"|"mmd" */
extern char hostname[]; /* "kiska" */
-extern int mypid; /* Current process id */
+extern pid_t mypid; /* Current process id */
#ifdef HAS_SYSLOG
extern int syslogging; /* Really using syslog */