Commit 0b75f796 authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman

tty/vt: consolemap: remove extern from function decls

The extern keyword is not needed for function declarations. Remove it,
so that the consolemap header conforms to other tty headers.
Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220607104946.18710-5-jslaby@suse.czSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2097dc22
...@@ -17,12 +17,11 @@ ...@@ -17,12 +17,11 @@
#ifdef CONFIG_CONSOLE_TRANSLATIONS #ifdef CONFIG_CONSOLE_TRANSLATIONS
struct vc_data; struct vc_data;
extern u16 inverse_translate(const struct vc_data *conp, int glyph, u16 inverse_translate(const struct vc_data *conp, int glyph, int use_unicode);
int use_unicode); unsigned short *set_translate(int m, struct vc_data *vc);
extern unsigned short *set_translate(int m, struct vc_data *vc); int conv_uni_to_pc(struct vc_data *conp, long ucs);
extern int conv_uni_to_pc(struct vc_data *conp, long ucs); u32 conv_8bit_to_uni(unsigned char c);
extern u32 conv_8bit_to_uni(unsigned char c); int conv_uni_to_8bit(u32 uni);
extern int conv_uni_to_8bit(u32 uni);
void console_map_init(void); void console_map_init(void);
#else #else
#define inverse_translate(conp, glyph, uni) ((uint16_t)glyph) #define inverse_translate(conp, glyph, uni) ((uint16_t)glyph)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment