diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-17 09:11:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-17 09:11:26 +0000 |
commit | 911b42dcf51c9ea6ab9bf5f0bfbbb8437be1ccf0 (patch) | |
tree | 93bf04069b7582cd0b65bdef988d765de05cb61f | |
parent | 92dd4caa4f68d67e4ce9fec87359993213ecd0ec (diff) |
__OpenBSD__
-rw-r--r-- | usr.sbin/amd/fsinfo/fsi_util.c | 6 | ||||
-rw-r--r-- | usr.sbin/bootpd/getether.c | 2 | ||||
-rw-r--r-- | usr.sbin/gspa/gspa/gsp_ass.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/amd/fsinfo/fsi_util.c b/usr.sbin/amd/fsinfo/fsi_util.c index 88b0179955d..2695ba6202b 100644 --- a/usr.sbin/amd/fsinfo/fsi_util.c +++ b/usr.sbin/amd/fsinfo/fsi_util.c @@ -33,7 +33,7 @@ * SUCH DAMAGE. * * from: @(#)fsi_util.c 8.1 (Berkeley) 6/6/93 - * $Id: fsi_util.c,v 1.2 1997/01/31 14:42:11 graichen Exp $ + * $Id: fsi_util.c,v 1.3 1997/02/17 09:11:25 deraadt Exp $ */ #include "../fsinfo/fsinfo.h" @@ -83,7 +83,7 @@ char *s, *s1, *s2, *s3, *s4; exit(1); } -#ifndef __NetBSD__ +#if !(defined(__NetBSD__) || defined(__OpenBSD__)) /* * Dup a string */ @@ -98,7 +98,7 @@ char *s; return sp; } -#endif /* __NetBSD__ */ +l#endif /* !(defined(__NetBSD__) || defined(__OpenBSD)) */ /* * Debug log diff --git a/usr.sbin/bootpd/getether.c b/usr.sbin/bootpd/getether.c index 12ac7d0832d..d9c7686737d 100644 --- a/usr.sbin/bootpd/getether.c +++ b/usr.sbin/bootpd/getether.c @@ -156,7 +156,7 @@ getether(ifname, eap) } #define GETETHER -#endif /* __NetBSD__ */ +#endif /* __NetBSD__ || __OpenBSD__ */ #ifdef SVR4 diff --git a/usr.sbin/gspa/gspa/gsp_ass.h b/usr.sbin/gspa/gspa/gsp_ass.h index 4201de43c94..0b50b0858e3 100644 --- a/usr.sbin/gspa/gspa/gsp_ass.h +++ b/usr.sbin/gspa/gspa/gsp_ass.h @@ -163,7 +163,7 @@ extern int lineno; extern int err_count; extern char line[], *lineptr; -#if defined(sparc) && !defined(__NetBSD__) +#if defined(sparc) && !(defined(__NetBSD__) || defined(__OpenBSD__)) #include <alloca.h> #else #ifdef __GNUC__ |