2000-11-21 13:17:37

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] missing extern in vt_kern.h

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



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