missing extern in vt_kern.h

Message ID Pine.GSO.4.10.10011211345410.14139-100000@escobaria.sonytel.be
State New, archived
Headers show
Series
  • missing extern in vt_kern.h
Related show

Commit Message

Geert Uytterhoeven Nov. 21, 2000, 12:46 p.m. UTC
Hi Linus,

include/linux/vt_kern.h lacks the keyword `extern' for a pointer declaration.


Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

Patch

diff -urN linux-2.4.0-test11/include/linux/vt_kern.h geert-2.4.0-test11/include/linux/vt_kern.h
--- linux-2.4.0-test11/include/linux/vt_kern.h	Sun Nov 19 05:57:35 2000
+++ geert-2.4.0-test11/include/linux/vt_kern.h	Tue Nov 21 13:32:20 2000
@@ -30,7 +30,7 @@ 
 	wait_queue_head_t paste_wait;
 } *vt_cons[MAX_NR_CONSOLES];
 
-void (*kd_mksound)(unsigned int hz, unsigned int ticks);
+extern void (*kd_mksound)(unsigned int hz, unsigned int ticks);
 
 /* console.c */