svn commit: r305846 - stable/11/sys/dev/kbd
Ed Maste
emaste at FreeBSD.org
Thu Sep 15 17:34:15 UTC 2016
Author: emaste
Date: Thu Sep 15 17:34:14 2016
New Revision: 305846
URL: https://svnweb.freebsd.org/changeset/base/305846
Log:
MFC r303335: apply some style(9) to kbd: make function name start in column 1
Modified:
stable/11/sys/dev/kbd/kbd.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/kbd/kbd.c
==============================================================================
--- stable/11/sys/dev/kbd/kbd.c Thu Sep 15 17:30:01 2016 (r305845)
+++ stable/11/sys/dev/kbd/kbd.c Thu Sep 15 17:34:14 2016 (r305846)
@@ -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, voi
}
/* 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, fkeyar
#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;
More information about the svn-src-stable-11
mailing list