[BACK]Return to key.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

File: [local] / src / usr.bin / mg / key.h (download)

Revision 1.4, Sun Feb 1 22:26:41 2004 UTC (20 years, 4 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.3: +7 -10 lines

remove old precompiler weirdness that is not really needed...

/*	$OpenBSD: key.h,v 1.4 2004/02/01 22:26:41 vincent Exp $	*/

/* key.h: Insert file for mg 2 functions that need to reference key pressed */

#define MAXKEY	8			/* maximum number of prefix chars */

struct key {				/* the chacter sequence in a key */
	int	k_count;		/* number of chars */
	KCHAR	k_chars[MAXKEY];	/* chars */
};

extern struct key key;