Bug 22466

Summary: function prototype inconsist in kbdreg.h and kbd.c
Product: Base System Reporter: websoft <websoft>
Component: kernAssignee: yokota <yokota>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description websoft 2000-11-01 06:20:01 UTC
header file kbdreg.h declares genkbd_keyaction as:

int     genkbd_keyaction(keyboard_t *kbd, int keycode, int down,
                         int *shiftstate, int *accents);

while in kbd.c the function declared as:
int
genkbd_keyaction(keyboard_t *kbd, int keycode, int up, int *shiftstate,
                 int *accents)

the third parameter name is diff and has opposite meaning.
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-11-03 21:56:59 UTC
Responsible Changed
From-To: freebsd-bugs->yokota

Over to syscons/kbd maintainer.
Comment 2 yokota freebsd_committer freebsd_triage 2001-07-20 15:50:06 UTC
State Changed
From-To: open->closed

Fixed. Thanks.