What happened to the "d_maj" member of "struct cdevsw" in CURRENT?

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Apr 18 22:32:33 PDT 2005


In message <20050418232455.2d530890 at dolphin.local.net>, "Conrad J. Sabatier" wr
ites:
>> ===> sound/midi (all)
>> cc -O -pipe -march=athlon64 -Wno-error -D_KERNEL -DKLD_MODULE
>> -nostdinc -I-   -include /usr/obj/usr/src/sys/CUSTOM/opt_global.h -I.
>> -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g
>> -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/CUSTOM -mcmodel=kernel
>> -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow 
>> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall
>> -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
>> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
>> -fformat-extensions -std=c99 -c
>> /usr/src/sys/modules/sound/midi/../../../dev/sound/midi/midi.c
>> /usr/src/sys/modules/sound/midi/../../../dev/sound/midi/midi.c:204:
>> error: unknown field `d_maj' specified in initializer
>
>When was this member removed, and why?  And how to work around this?

It is no longer used, just remove it.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list