Subject: sys/dev/ata/wd.c broken
To: None <current-users@netbsd.org>
From: Ossi Herrala <oherrala@ee.oulu.fi>
List: current-users
Date: 04/15/2003 19:50:58
Hello

Is file mentioned in subject broken?

/*      $NetBSD: wd.c,v 1.241 2003/04/15 14:11:00 darrenr Exp $ */

cc  -pipe -ffreestanding  -pipe -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Di386 -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /usr/src/sys/dev/ata/wd.c
/usr/src/sys/dev/ata/wd.c: In function `wddone':
/usr/src/sys/dev/ata/wd.c:779: `b' undeclared (first use in this function)
/usr/src/sys/dev/ata/wd.c:779: (Each undeclared identifier is reported only once
/usr/src/sys/dev/ata/wd.c:779: for each function it appears in.)
/usr/src/sys/dev/ata/wd.c:781: parse error before `{'
/usr/src/sys/dev/ata/wd.c:784: `dbs' undeclared (first use in this function)
/usr/src/sys/dev/ata/wd.c:793: break statement not within loop or switch
/usr/src/sys/dev/ata/wd.c:794: case label not within a switch statement
/usr/src/sys/dev/ata/wd.c:798: break statement not within loop or switch
/usr/src/sys/dev/ata/wd.c:799: case label not within a switch statement
/usr/src/sys/dev/ata/wd.c:802: break statement not within loop or switch
/usr/src/sys/dev/ata/wd.c: At top level:
/usr/src/sys/dev/ata/wd.c:804: parse error before `&'
cc1: warnings being treated as errors
/usr/src/sys/dev/ata/wd.c:804: warning: type defaults to `int' in declaration of `disk_unbusy'
/usr/src/sys/dev/ata/wd.c:804: warning: function declaration isn't a prototype
/usr/src/sys/dev/ata/wd.c:804: conflicting types for `disk_unbusy'
/usr/src/sys/sys/disk.h:202: previous declaration of `disk_unbusy'
/usr/src/sys/dev/ata/wd.c:805: parse error before `->'
/usr/src/sys/dev/ata/wd.c:807: parse error before `&'
/usr/src/sys/dev/ata/wd.c:807: warning: type defaults to `int' in declaration of `rnd_add_uint32'
/usr/src/sys/dev/ata/wd.c:807: warning: function declaration isn't a prototype
/usr/src/sys/dev/ata/wd.c:807: conflicting types for `rnd_add_uint32'
/usr/src/sys/sys/rnd.h:159: previous declaration of `rnd_add_uint32'
/usr/src/sys/dev/ata/wd.c:807: warning: data definition has no type or storage class
/usr/src/sys/dev/ata/wd.c:817: warning: type defaults to `int' in declaration of `wdstart'
/usr/src/sys/dev/ata/wd.c:817: warning: parameter names (without types) in function declaration
/usr/src/sys/dev/ata/wd.c:817: conflicting types for `wdstart'
/usr/src/sys/dev/ata/wd.c:572: previous declaration of `wdstart'
/usr/src/sys/dev/ata/wd.c:817: warning: data definition has no type or storage class
/usr/src/sys/dev/ata/wd.c:818: parse error before `}'
*** Error code 1


-- 
Ossi Herrala
Personal PGP key at http://stekt.oulu.fi/~oherrala/pgp.asc