mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
staging: speakup: Remove unnecessary externs
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignments Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e4fde76b16
commit
ad9f92d270
@ -224,11 +224,11 @@ struct msg_group_t {
|
||||
enum msg_index_t end;
|
||||
};
|
||||
|
||||
extern char *spk_msg_get(enum msg_index_t index);
|
||||
extern ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length);
|
||||
extern struct msg_group_t *spk_find_msg_group(const char *group_name);
|
||||
extern void spk_reset_msg_group(struct msg_group_t *group);
|
||||
extern void spk_initialize_msgs(void);
|
||||
extern void spk_free_user_msgs(void);
|
||||
char *spk_msg_get(enum msg_index_t index);
|
||||
ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length);
|
||||
struct msg_group_t *spk_find_msg_group(const char *group_name);
|
||||
void spk_reset_msg_group(struct msg_group_t *group);
|
||||
void spk_initialize_msgs(void);
|
||||
void spk_free_user_msgs(void);
|
||||
|
||||
#endif
|
||||
|
@ -42,46 +42,44 @@
|
||||
#define IS_CHAR(x, type) (spk_chartab[((u_char)x)]&type)
|
||||
#define IS_TYPE(x, type) ((spk_chartab[((u_char)x)]&type) == type)
|
||||
|
||||
extern int speakup_thread(void *data);
|
||||
extern void spk_reset_default_chars(void);
|
||||
extern void spk_reset_default_chartab(void);
|
||||
extern void synth_start(void);
|
||||
int speakup_thread(void *data);
|
||||
void spk_reset_default_chars(void);
|
||||
void spk_reset_default_chartab(void);
|
||||
void synth_start(void);
|
||||
void synth_insert_next_index(int sent_num);
|
||||
void spk_reset_index_count(int sc);
|
||||
void spk_get_index_count(int *linecount, int *sentcount);
|
||||
extern int spk_set_key_info(const u_char *key_info, u_char *k_buffer);
|
||||
extern char *spk_strlwr(char *s);
|
||||
extern char *spk_s2uchar(char *start, char *dest);
|
||||
extern int speakup_kobj_init(void);
|
||||
extern void speakup_kobj_exit(void);
|
||||
extern int spk_chartab_get_value(char *keyword);
|
||||
extern void speakup_register_var(struct var_t *var);
|
||||
extern void speakup_unregister_var(enum var_id_t var_id);
|
||||
extern struct st_var_header *spk_get_var_header(enum var_id_t var_id);
|
||||
extern struct st_var_header *spk_var_header_by_name(const char *name);
|
||||
extern struct punc_var_t *spk_get_punc_var(enum var_id_t var_id);
|
||||
extern int spk_set_num_var(int val, struct st_var_header *var, int how);
|
||||
extern int spk_set_string_var(const char *page, struct st_var_header *var,
|
||||
int len);
|
||||
extern int spk_set_mask_bits(const char *input, const int which, const int how);
|
||||
int spk_set_key_info(const u_char *key_info, u_char *k_buffer);
|
||||
char *spk_strlwr(char *s);
|
||||
char *spk_s2uchar(char *start, char *dest);
|
||||
int speakup_kobj_init(void);
|
||||
void speakup_kobj_exit(void);
|
||||
int spk_chartab_get_value(char *keyword);
|
||||
void speakup_register_var(struct var_t *var);
|
||||
void speakup_unregister_var(enum var_id_t var_id);
|
||||
struct st_var_header *spk_get_var_header(enum var_id_t var_id);
|
||||
struct st_var_header *spk_var_header_by_name(const char *name);
|
||||
struct punc_var_t *spk_get_punc_var(enum var_id_t var_id);
|
||||
int spk_set_num_var(int val, struct st_var_header *var, int how);
|
||||
int spk_set_string_var(const char *page, struct st_var_header *var, int len);
|
||||
int spk_set_mask_bits(const char *input, const int which, const int how);
|
||||
extern special_func spk_special_handler;
|
||||
extern int spk_handle_help(struct vc_data *vc, u_char type, u_char ch,
|
||||
u_short key);
|
||||
extern int synth_init(char *name);
|
||||
extern void synth_release(void);
|
||||
int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key);
|
||||
int synth_init(char *name);
|
||||
void synth_release(void);
|
||||
|
||||
extern void spk_do_flush(void);
|
||||
extern void speakup_start_ttys(void);
|
||||
extern void synth_buffer_add(char ch);
|
||||
extern void synth_buffer_clear(void);
|
||||
extern void speakup_clear_selection(void);
|
||||
extern int speakup_set_selection(struct tty_struct *tty);
|
||||
extern int speakup_paste_selection(struct tty_struct *tty);
|
||||
extern void speakup_cancel_paste(void);
|
||||
extern void speakup_register_devsynth(void);
|
||||
extern void speakup_unregister_devsynth(void);
|
||||
extern void synth_write(const char *buf, size_t count);
|
||||
extern int synth_supports_indexing(void);
|
||||
void spk_do_flush(void);
|
||||
void speakup_start_ttys(void);
|
||||
void synth_buffer_add(char ch);
|
||||
void synth_buffer_clear(void);
|
||||
void speakup_clear_selection(void);
|
||||
int speakup_set_selection(struct tty_struct *tty);
|
||||
int speakup_paste_selection(struct tty_struct *tty);
|
||||
void speakup_cancel_paste(void);
|
||||
void speakup_register_devsynth(void);
|
||||
void speakup_unregister_devsynth(void);
|
||||
void synth_write(const char *buf, size_t count);
|
||||
int synth_supports_indexing(void);
|
||||
|
||||
extern struct vc_data *spk_sel_cons;
|
||||
extern unsigned short spk_xs, spk_ys, spk_xe, spk_ye; /* our region points */
|
||||
|
Loading…
Reference in New Issue
Block a user