svn commit: r303335 - head/sys/dev/kbd

Ed Maste emaste at FreeBSD.org
Tue Jul 26 13:36:29 UTC 2016


Author: emaste
Date: Tue Jul 26 13:36:28 2016
New Revision: 303335
URL: https://svnweb.freebsd.org/changeset/base/303335

Log:
  apply some style(9) to kbd: make function name start in column 1
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/dev/kbd/kbd.c

Modified: head/sys/dev/kbd/kbd.c
==============================================================================
--- head/sys/dev/kbd/kbd.c	Tue Jul 26 08:58:44 2016	(r303334)
+++ head/sys/dev/kbd/kbd.c	Tue Jul 26 13:36:28 2016	(r303335)
@@ -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-head mailing list