diff options
-rw-r--r-- | usr.sbin/pppd/ipxcp.c | 5 | ||||
-rw-r--r-- | usr.sbin/pppd/ipxcp.h | 5 | ||||
-rw-r--r-- | usr.sbin/pppd/magic.c | 5 | ||||
-rw-r--r-- | usr.sbin/rbootd/rbootd.c | 7 | ||||
-rw-r--r-- | usr.sbin/rdconfig/rdconfig.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpc.bootparamd/bootparamd.c | 9 | ||||
-rw-r--r-- | usr.sbin/wsmoused/mouse_protocols.h | 4 |
7 files changed, 29 insertions, 9 deletions
diff --git a/usr.sbin/pppd/ipxcp.c b/usr.sbin/pppd/ipxcp.c index 634c363f64c..719b6e22702 100644 --- a/usr.sbin/pppd/ipxcp.c +++ b/usr.sbin/pppd/ipxcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipxcp.c,v 1.8 2002/05/26 09:25:21 deraadt Exp $ */ +/* $OpenBSD: ipxcp.c,v 1.9 2002/06/11 18:49:18 hin Exp $ */ /* * ipxcp.c - PPP IPX Control Protocol. @@ -24,7 +24,7 @@ #if 0 static char rcsid[] = "Id: ipxcp.c,v 1.6 1998/03/25 03:08:16 paulus Exp $"; #else -static char rcsid[] = "$OpenBSD: ipxcp.c,v 1.8 2002/05/26 09:25:21 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ipxcp.c,v 1.9 2002/06/11 18:49:18 hin Exp $"; #endif #endif @@ -38,6 +38,7 @@ static char rcsid[] = "$OpenBSD: ipxcp.c,v 1.8 2002/05/26 09:25:21 deraadt Exp $ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> +#include <unistd.h> #include "pppd.h" #include "fsm.h" diff --git a/usr.sbin/pppd/ipxcp.h b/usr.sbin/pppd/ipxcp.h index 2d7e941d7cb..394e1672020 100644 --- a/usr.sbin/pppd/ipxcp.h +++ b/usr.sbin/pppd/ipxcp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ipxcp.h,v 1.2 1997/09/05 04:32:40 millert Exp $ */ +/* $OpenBSD: ipxcp.h,v 1.3 2002/06/11 18:49:18 hin Exp $ */ /* * ipxcp.h - IPX Control Protocol definitions. @@ -71,3 +71,6 @@ extern ipxcp_options ipxcp_allowoptions[]; extern ipxcp_options ipxcp_hisoptions[]; extern struct protent ipxcp_protent; + +extern int sipxfaddr(int, u_int32_t, u_char *); +extern int cipxfaddr(int); diff --git a/usr.sbin/pppd/magic.c b/usr.sbin/pppd/magic.c index f054f397759..9baa151beb1 100644 --- a/usr.sbin/pppd/magic.c +++ b/usr.sbin/pppd/magic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: magic.c,v 1.6 2002/05/26 09:25:21 deraadt Exp $ */ +/* $OpenBSD: magic.c,v 1.7 2002/06/11 18:49:18 hin Exp $ */ /* * magic.c - PPP Magic Number routines. @@ -23,7 +23,7 @@ #if 0 static char rcsid[] = "Id: magic.c,v 1.7 1998/03/25 03:07:49 paulus Exp $"; #else -static char rcsid[] = "$OpenBSD: magic.c,v 1.6 2002/05/26 09:25:21 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: magic.c,v 1.7 2002/06/11 18:49:18 hin Exp $"; #endif #endif @@ -31,6 +31,7 @@ static char rcsid[] = "$OpenBSD: magic.c,v 1.6 2002/05/26 09:25:21 deraadt Exp $ #include <unistd.h> #include <sys/types.h> #include <sys/time.h> +#include <stdlib.h> #include "pppd.h" #include "magic.h" diff --git a/usr.sbin/rbootd/rbootd.c b/usr.sbin/rbootd/rbootd.c index d3a955ef925..1fcac675d7f 100644 --- a/usr.sbin/rbootd/rbootd.c +++ b/usr.sbin/rbootd/rbootd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbootd.c,v 1.13 2002/03/14 16:44:25 mpech Exp $ */ +/* $OpenBSD: rbootd.c,v 1.14 2002/06/11 18:49:18 hin Exp $ */ /* $NetBSD: rbootd.c,v 1.5 1995/10/06 05:12:17 thorpej Exp $ */ /* @@ -55,11 +55,12 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "@(#)rbootd.c 8.1 (Berkeley) 6/4/93";*/ -static char rcsid[] = "$OpenBSD: rbootd.c,v 1.13 2002/03/14 16:44:25 mpech Exp $"; +static char rcsid[] = "$OpenBSD: rbootd.c,v 1.14 2002/06/11 18:49:18 hin Exp $"; #endif /* not lint */ #include <sys/param.h> #include <sys/time.h> + #include <ctype.h> #include <err.h> #include <errno.h> @@ -70,6 +71,8 @@ static char rcsid[] = "$OpenBSD: rbootd.c,v 1.13 2002/03/14 16:44:25 mpech Exp $ #include <string.h> #include <syslog.h> #include <unistd.h> +#include <util.h> + #include "defs.h" extern char *__progname; /* from crt0.o */ diff --git a/usr.sbin/rdconfig/rdconfig.c b/usr.sbin/rdconfig/rdconfig.c index f1a64993fcf..1f883370f0d 100644 --- a/usr.sbin/rdconfig/rdconfig.c +++ b/usr.sbin/rdconfig/rdconfig.c @@ -39,11 +39,14 @@ #include <fcntl.h> #include <stdio.h> +#include <stdlib.h> #include <sys/mman.h> #include <sys/param.h> +#include <sys/ioctl.h> #include <dev/ramdisk.h> +int main(argc, argv) int argc; char **argv; diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c index 9c5fce5d776..cbe74dee3b4 100644 --- a/usr.sbin/rpc.bootparamd/bootparamd.c +++ b/usr.sbin/rpc.bootparamd/bootparamd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bootparamd.c,v 1.11 2002/02/16 21:28:08 millert Exp $ */ +/* $OpenBSD: bootparamd.c,v 1.12 2002/06/11 18:49:18 hin Exp $ */ /* * This code is not copyright, and is placed in the public domain. @@ -13,13 +13,20 @@ #include <sys/ioctl.h> #include <sys/stat.h> #include <sys/socket.h> + #include <rpc/rpc.h> #include <rpcsvc/bootparam_prot.h> +#include <rpcsvc/ypclnt.h> +#include <rpcsvc/yp_prot.h> #include <stdio.h> #include <netdb.h> #include <ctype.h> #include <syslog.h> #include <string.h> +#include <unistd.h> +#include <err.h> +#include <stdlib.h> + #include "pathnames.h" #define MAXLEN 800 diff --git a/usr.sbin/wsmoused/mouse_protocols.h b/usr.sbin/wsmoused/mouse_protocols.h index df26194e32a..845d9e499c8 100644 --- a/usr.sbin/wsmoused/mouse_protocols.h +++ b/usr.sbin/wsmoused/mouse_protocols.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mouse_protocols.h,v 1.2 2002/02/15 02:18:39 deraadt Exp $ */ +/* $OpenBSD: mouse_protocols.h,v 1.3 2002/06/11 18:49:18 hin Exp $ */ /* * Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon @@ -200,4 +200,6 @@ typedef struct mousestatus { void mouse_init(void); int mouse_identify(void); int mouse_protocol(unsigned char, mousestatus_t *); +char *mouse_name(int type); +void wsmouse_init(void); |