diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-07-09 13:13:45 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2001-07-09 13:13:45 +0000 |
commit | b48d7a1ae4e4496dfba1b8bff80121ef670a3c7f (patch) | |
tree | 13615e823dfe854ed70d4479e0d5d8662c0872a3 /sys | |
parent | 3fff1e112e089f51d2c7804a6bf895c97e1e8e6c (diff) |
Remove dubious #include MACRO "string" construct (non-ANSI)
and use the more correct #include <file.h> style.
From discussion with millert@.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_lmc.c | 8 | ||||
-rw-r--r-- | sys/dev/pci/if_lmc_common.c | 8 | ||||
-rw-r--r-- | sys/dev/pci/if_lmc_media.c | 10 | ||||
-rw-r--r-- | sys/dev/pci/if_lmc_obsd.c | 8 |
4 files changed, 25 insertions, 9 deletions
diff --git a/sys/dev/pci/if_lmc.c b/sys/dev/pci/if_lmc.c index ea5e2875cf7..1d270267295 100644 --- a/sys/dev/pci/if_lmc.c +++ b/sys/dev/pci/if_lmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lmc.c,v 1.9 2001/06/27 06:34:48 kjc Exp $ */ +/* $OpenBSD: if_lmc.c,v 1.10 2001/07/09 13:13:42 espie Exp $ */ /* $NetBSD: if_lmc.c,v 1.1 1999/03/25 03:32:43 explorer Exp $ */ /*- @@ -182,10 +182,14 @@ * Sigh. Every OS puts these in different places. NetBSD and FreeBSD use * a C preprocessor that allows this hack, but BSDI does not. Grr. */ -#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) +#if defined(__NetBSD__) || defined(__FreeBSD__) #include INCLUDE_PATH_PREFIX "if_lmc_types.h" #include INCLUDE_PATH_PREFIX "if_lmcioctl.h" #include INCLUDE_PATH_PREFIX "if_lmcvar.h" +#elif defined(__OpenBSD__) +#include <dev/pci/if_lmc_types.h> +#include <dev/pci/if_lmcioctl.h> +#include <dev/pci/if_lmcvar.h> #else /* BSDI */ #include "i386/pci/if_lmctypes.h" #include "i386/pci/if_lmcioctl.h" diff --git a/sys/dev/pci/if_lmc_common.c b/sys/dev/pci/if_lmc_common.c index e1a87595315..6bb57a6dfcf 100644 --- a/sys/dev/pci/if_lmc_common.c +++ b/sys/dev/pci/if_lmc_common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lmc_common.c,v 1.3 2000/02/01 18:01:41 chris Exp $ */ +/* $OpenBSD: if_lmc_common.c,v 1.4 2001/07/09 13:13:43 espie Exp $ */ /* $NetBSD: if_lmc_common.c,v 1.1 1999/03/25 03:32:43 explorer Exp $ */ /*- @@ -166,10 +166,14 @@ * Sigh. Every OS puts these in different places. NetBSD and FreeBSD use * a C preprocessor that allows this hack, but BSDI does not. */ -#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) +#if defined(__NetBSD__) || defined(__FreeBSD__) #include INCLUDE_PATH_PREFIX "if_lmc_types.h" #include INCLUDE_PATH_PREFIX "if_lmcioctl.h" #include INCLUDE_PATH_PREFIX "if_lmcvar.h" +#elif defined(__OpenBSD__) +#include <dev/pci/if_lmc_types.h> +#include <dev/pci/if_lmcioctl.h> +#include <dev/pci/if_lmcvar.h> #else /* BSDI */ #include "i386/pci/if_lmc_types.h" #include "i386/pci/if_lmcioctl.h" diff --git a/sys/dev/pci/if_lmc_media.c b/sys/dev/pci/if_lmc_media.c index dad33ae1e08..67bd146885b 100644 --- a/sys/dev/pci/if_lmc_media.c +++ b/sys/dev/pci/if_lmc_media.c @@ -1,5 +1,5 @@ -/* $OpenBSD: if_lmc_media.c,v 1.7 2001/06/27 06:02:50 nate Exp $ */ -/* $Id: if_lmc_media.c,v 1.7 2001/06/27 06:02:50 nate Exp $ */ +/* $OpenBSD: if_lmc_media.c,v 1.8 2001/07/09 13:13:43 espie Exp $ */ +/* $Id: if_lmc_media.c,v 1.8 2001/07/09 13:13:43 espie Exp $ */ /*- * Copyright (c) 1997-1999 LAN Media Corporation (LMC) @@ -136,10 +136,14 @@ * Sigh. Every OS puts these in different places. NetBSD and FreeBSD use * a C preprocessor that allows this hack, but BSDI does not. */ -#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) +#if defined(__NetBSD__) || defined(__FreeBSD__) #include INCLUDE_PATH_PREFIX "if_lmc_types.h" #include INCLUDE_PATH_PREFIX "if_lmcioctl.h" #include INCLUDE_PATH_PREFIX "if_lmcvar.h" +#elif defined(__OpenBSD__) +#include <dev/pci/if_lmc_types.h> +#include <dev/pci/if_lmcioctl.h> +#include <dev/pci/if_lmcvar.h> #else /* BSDI */ #include "i386/pci/if_lmc_types.h" #include "i386/pci/if_lmcioctl.h" diff --git a/sys/dev/pci/if_lmc_obsd.c b/sys/dev/pci/if_lmc_obsd.c index 0f46fda439d..5821d7dca4f 100644 --- a/sys/dev/pci/if_lmc_obsd.c +++ b/sys/dev/pci/if_lmc_obsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lmc_obsd.c,v 1.7 2001/06/12 15:40:31 niklas Exp $ */ +/* $OpenBSD: if_lmc_obsd.c,v 1.8 2001/07/09 13:13:44 espie Exp $ */ /* $NetBSD: if_lmc_nbsd.c,v 1.1 1999/03/25 03:32:43 explorer Exp $ */ /*- @@ -160,10 +160,14 @@ * Sigh. Every OS puts these in different places. NetBSD and FreeBSD use * a C preprocessor that allows this hack, but BSDI does not. Grr. */ -#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) +#if defined(__NetBSD__) || defined(__FreeBSD__) #include INCLUDE_PATH_PREFIX "if_lmc_types.h" #include INCLUDE_PATH_PREFIX "if_lmcioctl.h" #include INCLUDE_PATH_PREFIX "if_lmcvar.h" +#elif defined(__OpenBSD__) +#include <dev/pci/if_lmc_types.h> +#include <dev/pci/if_lmcioctl.h> +#include <dev/pci/if_lmcvar.h> #else /* BSDI */ #include "i386/pci/if_lmctypes.h" #include "i386/pci/if_lmcioctl.h" |