apply some style(9) to kbd: make function name start in column 1
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
34c30e12e2
commit
bbecb73b0e
@ -284,8 +284,8 @@ kbd_unregister(keyboard_t *kbd)
|
||||
}
|
||||
|
||||
/* find a function table by the driver name */
|
||||
keyboard_switch_t
|
||||
*kbd_get_switch(char *driver)
|
||||
keyboard_switch_t *
|
||||
kbd_get_switch(char *driver)
|
||||
{
|
||||
const keyboard_driver_t **list;
|
||||
const keyboard_driver_t *p;
|
||||
@ -419,8 +419,8 @@ kbd_change_callback(keyboard_t *kbd, void *id, kbd_callback_func_t *func,
|
||||
}
|
||||
|
||||
/* get a keyboard structure */
|
||||
keyboard_t
|
||||
*kbd_get_keyboard(int index)
|
||||
keyboard_t *
|
||||
kbd_get_keyboard(int index)
|
||||
{
|
||||
if ((index < 0) || (index >= keyboards))
|
||||
return (NULL);
|
||||
@ -1118,8 +1118,8 @@ fkey_change_ok(fkeytab_t *oldkey, fkeyarg_t *newkey, struct thread *td)
|
||||
#endif
|
||||
|
||||
/* get a pointer to the string associated with the given function key */
|
||||
u_char
|
||||
*genkbd_get_fkeystr(keyboard_t *kbd, int fkey, size_t *len)
|
||||
u_char *
|
||||
genkbd_get_fkeystr(keyboard_t *kbd, int fkey, size_t *len)
|
||||
{
|
||||
if (kbd == NULL)
|
||||
return (NULL);
|
||||
@ -1131,8 +1131,8 @@ u_char
|
||||
}
|
||||
|
||||
/* diagnostic dump */
|
||||
static char
|
||||
*get_kbd_type_name(int type)
|
||||
static char *
|
||||
get_kbd_type_name(int type)
|
||||
{
|
||||
static struct {
|
||||
int type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user