[PATCH] missing extern in vt_kern.h

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Tue Nov 21 2000 - 07:46:38 EST


        Hi Linus,

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

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 */
 

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/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:20 EST