From nobody@FreeBSD.ORG  Tue Oct 31 22:17:17 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 96E3737B4C5; Tue, 31 Oct 2000 22:17:17 -0800 (PST)
Message-Id: <20001101061717.96E3737B4C5@hub.freebsd.org>
Date: Tue, 31 Oct 2000 22:17:17 -0800 (PST)
From: websoft@yahoo.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: function prototype inconsist in kbdreg.h and kbd.c
X-Send-Pr-Version: www-1.0

>Number:         22466
>Category:       kern
>Synopsis:       function prototype inconsist in kbdreg.h and kbd.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    yokota
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 31 22:20:01 PST 2000
>Closed-Date:    Fri Jul 20 07:50:06 PDT 2001
>Last-Modified:  Fri Jul 20 07:50:20 PDT 2001
>Originator:     XuYifeng
>Release:        FreeBSD-stable 4.1.1
>Organization:
stocke.com
>Environment:
>Description:
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.



>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->yokota 
Responsible-Changed-By: johan 
Responsible-Changed-When: Fri Nov 3 13:56:59 PST 2000 
Responsible-Changed-Why:  
Over to syscons/kbd maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22466 
State-Changed-From-To: open->closed 
State-Changed-By: yokota 
State-Changed-When: Fri Jul 20 07:50:06 PDT 2001 
State-Changed-Why:  
Fixed. Thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22466 
>Unformatted:
