summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/loran.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-06 22:13:04 +0000
committerpeter <peter@FreeBSD.org>1999-05-06 22:13:04 +0000
commit8b2ba20dd83fa371cb1000cfab85e89c82d79e53 (patch)
treed9c4ed2c661d70e6848c865d470768fa253f63b5 /sys/i386/isa/loran.c
parent6d82158f98f54ada4c1c2f3d59ffe4aeab164343 (diff)
downloadFreeBSD-src-8b2ba20dd83fa371cb1000cfab85e89c82d79e53.zip
FreeBSD-src-8b2ba20dd83fa371cb1000cfab85e89c82d79e53.tar.gz
Fix a static/extern conflict. Put extra brackets to ensure the
tsleep() priority is clear and not parsed incorrectly.
Diffstat (limited to 'sys/i386/isa/loran.c')
-rw-r--r--sys/i386/isa/loran.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/loran.c b/sys/i386/isa/loran.c
index 491675e..cef3f5a 100644
--- a/sys/i386/isa/loran.c
+++ b/sys/i386/isa/loran.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: loran.c,v 1.15 1999/04/11 03:06:06 eivind Exp $
+ * $Id: loran.c,v 1.16 1999/04/28 10:52:39 dt Exp $
*
* This device-driver helps the userland controlprogram for a LORAN-C
* receiver avoid monopolizing the CPU.
@@ -220,7 +220,7 @@ static int64_t vco_error;
/**********************************************************************/
static int loranprobe (struct isa_device *dvp);
-extern void init_tgc (void);
+static void init_tgc (void);
static int loranattach (struct isa_device *isdp);
static void loranenqueue (struct datapoint *);
static d_open_t loranopen;
@@ -346,7 +346,7 @@ loranread(dev_t dev, struct uio * uio, int ioflag)
return(EIO);
}
if (TAILQ_EMPTY(&minors[idx]))
- tsleep ((caddr_t)&minors[idx], PZERO + 8 |PCATCH, "loranrd", hz*2);
+ tsleep ((caddr_t)&minors[idx], (PZERO + 8) |PCATCH, "loranrd", hz*2);
if (TAILQ_EMPTY(&minors[idx]))
return(0);
this = TAILQ_FIRST(&minors[idx]);
OpenPOWER on IntegriCloud