Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/sun3/dev



> Module Name:    src
> Committed By:   tsutsui
> Date:           Sat Dec 21 17:40:11 UTC 2024
> 
> Modified Files:
>         src/sys/arch/sun3/dev: bw2.c cg2.c cg4.c fb.c fd.c kd.c xd.c xy.c
> 
> Log Message:
> Make local dev_type_*() functions static.

While you're doing this kind of cleanup, maybe you could also change

static dev_type_open(foo_open);

to

static dev_open_t foo_open;

so we have less unnecessary macro magic for forward declarations.
(This is all the dev_type_* macros expand to; there's really no need
for them -- and using them is longer than their expansion!)


Home | Main Index | Thread Index | Old Index