diff options
author | ache <ache@FreeBSD.org> | 1995-01-26 10:16:51 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-01-26 10:16:51 +0000 |
commit | 0470b1fa934f8405e56fce730657cdb54d0b4f63 (patch) | |
tree | dd0dbc0953059269bc2df63f54f7dfbd847a35e8 /sys/dev/kbd/kbdtables.h | |
parent | 77c26436741a0da8be3ad373cfb09f0308892d9e (diff) | |
download | FreeBSD-src-0470b1fa934f8405e56fce730657cdb54d0b4f63.zip FreeBSD-src-0470b1fa934f8405e56fce730657cdb54d0b4f63.tar.gz |
Use NUM_FKEYS instead of hardcoded 65 for fkey_tab size
Diffstat (limited to 'sys/dev/kbd/kbdtables.h')
-rw-r--r-- | sys/dev/kbd/kbdtables.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/kbd/kbdtables.h b/sys/dev/kbd/kbdtables.h index bdb189a..c57b0bd 100644 --- a/sys/dev/kbd/kbdtables.h +++ b/sys/dev/kbd/kbdtables.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: kbdtables.h,v 1.21 1995/01/26 09:58:37 ache Exp $ + * $Id: kbdtables.h,v 1.22 1995/01/26 10:08:39 ache Exp $ */ #define SET8 0x80 /* eight bit for emacs SET8-key */ @@ -869,7 +869,7 @@ keymap_t key_map = { 0x6C, /* US iso8859 keymap */ #endif -fkeytab_t fkey_tab[65] = { +fkeytab_t fkey_tab[NUM_FKEYS] = { /* F1 - F12 */ /* 00-03 */ {"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3}, /* 04-07 */ {"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3}, |