diff options
author | dt <dt@FreeBSD.org> | 1999-03-28 23:28:18 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1999-03-28 23:28:18 +0000 |
commit | 028d3f6895ab7a9bca8ccc5ed838ac5ff2d33eee (patch) | |
tree | 2eef353f538d5b1f0a6d150bac2d5030b1554b88 /sys | |
parent | 49d1cdd7a4e142fd6257080cb63cd319e2944c63 (diff) | |
download | FreeBSD-src-028d3f6895ab7a9bca8ccc5ed838ac5ff2d33eee.zip FreeBSD-src-028d3f6895ab7a9bca8ccc5ed838ac5ff2d33eee.tar.gz |
Ifdef declaration of a conditionally defined function "timezero".
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/fpu.c | 4 | ||||
-rw-r--r-- | sys/amd64/isa/npx.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/npx.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index 6bb4e0f..2371e7b 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 - * $Id: npx.c,v 1.64 1998/12/14 19:16:17 bde Exp $ + * $Id: npx.c,v 1.65 1999/01/08 16:29:59 bde Exp $ */ #include "npx.h" @@ -122,8 +122,10 @@ typedef u_char bool_t; static int npxattach __P((struct isa_device *dvp)); static int npxprobe __P((struct isa_device *dvp)); static int npxprobe1 __P((struct isa_device *dvp)); +#ifdef I586_CPU static long timezero __P((const char *funcname, void (*func)(void *buf, size_t len))); +#endif /* I586_CPU */ struct isa_driver npxdriver = { npxprobe, npxattach, "npx", diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c index 6bb4e0f..2371e7b 100644 --- a/sys/amd64/isa/npx.c +++ b/sys/amd64/isa/npx.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 - * $Id: npx.c,v 1.64 1998/12/14 19:16:17 bde Exp $ + * $Id: npx.c,v 1.65 1999/01/08 16:29:59 bde Exp $ */ #include "npx.h" @@ -122,8 +122,10 @@ typedef u_char bool_t; static int npxattach __P((struct isa_device *dvp)); static int npxprobe __P((struct isa_device *dvp)); static int npxprobe1 __P((struct isa_device *dvp)); +#ifdef I586_CPU static long timezero __P((const char *funcname, void (*func)(void *buf, size_t len))); +#endif /* I586_CPU */ struct isa_driver npxdriver = { npxprobe, npxattach, "npx", diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c index 6bb4e0f..2371e7b 100644 --- a/sys/i386/isa/npx.c +++ b/sys/i386/isa/npx.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 - * $Id: npx.c,v 1.64 1998/12/14 19:16:17 bde Exp $ + * $Id: npx.c,v 1.65 1999/01/08 16:29:59 bde Exp $ */ #include "npx.h" @@ -122,8 +122,10 @@ typedef u_char bool_t; static int npxattach __P((struct isa_device *dvp)); static int npxprobe __P((struct isa_device *dvp)); static int npxprobe1 __P((struct isa_device *dvp)); +#ifdef I586_CPU static long timezero __P((const char *funcname, void (*func)(void *buf, size_t len))); +#endif /* I586_CPU */ struct isa_driver npxdriver = { npxprobe, npxattach, "npx", |