Skip to contentSkip to conversation

C99 initializers for drivers/macintosh/mac_hid.c

PATCH Geert Uytterhoeven 1 participant 1 message Feb 17, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 14 lines · Franz Sirl
Quoted 4 lines · Geert Uytterhoeven
Quoted 3 lines · Art Haas

This patch converts the file to use C99 initializers to improve readability and remove warnings if '-W' is used.

Quoted 8 lines

drivers/macintosh/mac_hid.c

Quoted 5 lines

Art Haas

===== drivers/macintosh/mac_hid.c 1.8 vs edited =====

drivers/macintosh/mac_hid.c +0 -0

Apparently this file is no longer used? I couldn't find CONFIG_MAC_EMUMOUSEBTN in any Kconfig, unless it's in the PPC tree only.

Quoted 4 lines

Huh? It's in arch/ppc/Kconfig, even in plain Linus tree. Unfortunately it's still impossible with current input layer (no way to prevent events from reaching other handlers) to clean it up or move it to userspace, so it has to stay :-(.

Aarghl, I keep on using grep with the CONFIG_ part included...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds