From owner-freebsd-bugs Tue Oct 31 22:20: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AD2E537B4CF for ; Tue, 31 Oct 2000 22:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA56055; Tue, 31 Oct 2000 22:20:01 -0800 (PST) (envelope-from gnats@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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/22466: function prototype inconsist in kbdreg.h and kbd.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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