> fdc-io.c: In function `fdc_interrupt_wait':
> fdc-io.c:392: parse error before `long'
> fdc-io.c:404: `timeout' undeclared (first use this function)
> fdc-io.c:404: (Each undeclared identifier is reported only once
Looks like the declaration of timeout just needs to be moved up a
line:
--- linux/drivers/char/ftape/lowlevel/fdc-io.c~ Sat Nov 7 12:30:54
1998
+++ linux/drivers/char/ftape/lowlevel/fdc-io.c Sat Nov 7 15:10:51
1998
@@ -388,8 +388,8 @@
struct wait_queue wait = {current, NULL};
sigset_t old_sigmask;
static int resetting = 0;
- TRACE_FUN(ft_t_fdc_dma);
long timeout;
+ TRACE_FUN(ft_t_fdc_dma);
#if LINUX_VERSION_CODE >= KERNEL_VER(2,0,16)
if (waitqueue_active(&ftape_wait_intr)) {
-Tom
Tom Eastep
Compaq Computer Corporation
Enterprise Systems Group
Tandem Division
tom.eastep@compaq.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/