Date: Tue, 31 Oct 2000 22:17:17 -0800 (PST) From: websoft@yahoo.com To: freebsd-gnats-submit@FreeBSD.org Subject: kern/22466: function prototype inconsist in kbdreg.h and kbd.c Message-ID: <20001101061717.96E3737B4C5@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 22466
>Category: kern
>Synopsis: function prototype inconsist in kbdreg.h and kbd.c
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 31 22:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001101061717.96E3737B4C5>
