summaryrefslogtreecommitdiff
path: root/app/xkbcomp/action.h
diff options
context:
space:
mode:
authorAlexandr Shadchin <shadchin@cvs.openbsd.org>2011-01-11 20:56:41 +0000
committerAlexandr Shadchin <shadchin@cvs.openbsd.org>2011-01-11 20:56:41 +0000
commit9ac5a1302296cc63925671b566af8c4618cb581e (patch)
treea57d391645c4a3c5b6f756bae61bd7c2fe25009f /app/xkbcomp/action.h
parente7e24b28c0e0b96461d93395184a8a34f10631ca (diff)
Update to xkbcomp 1.2.0.
ok matthieu@
Diffstat (limited to 'app/xkbcomp/action.h')
-rw-r--r--app/xkbcomp/action.h47
1 files changed, 21 insertions, 26 deletions
diff --git a/app/xkbcomp/action.h b/app/xkbcomp/action.h
index 4a1166420..2fb7a5eb9 100644
--- a/app/xkbcomp/action.h
+++ b/app/xkbcomp/action.h
@@ -1,4 +1,3 @@
-/* $Xorg: action.h,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ */
/************************************************************
Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.
@@ -24,7 +23,6 @@
THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
-/* $XFree86$ */
#ifndef ACTION_H
#define ACTION_H 1
@@ -57,34 +55,31 @@
#define PrivateAction (XkbSA_LastAction+1)
-typedef struct _ActionInfo {
- unsigned action;
- unsigned field;
- ExprDef * array_ndx;
- ExprDef * value;
- struct _ActionInfo * next;
+typedef struct _ActionInfo
+{
+ unsigned action;
+ unsigned field;
+ ExprDef *array_ndx;
+ ExprDef *value;
+ struct _ActionInfo *next;
} ActionInfo;
-extern int HandleActionDef(
- ExprDef * /* def */,
- XkbDescPtr /* xkb */,
- XkbAnyAction * /* action */,
- unsigned /* mergeMode */,
- ActionInfo * /* info */
-);
+extern int HandleActionDef(ExprDef * /* def */ ,
+ XkbDescPtr /* xkb */ ,
+ XkbAnyAction * /* action */ ,
+ unsigned /* mergeMode */ ,
+ ActionInfo * /* info */
+ );
-extern int SetActionField(
- XkbDescPtr /* xkb */,
- char * /* elem */,
- char * /* field */,
- ExprDef * /* index */,
- ExprDef * /* value */,
- ActionInfo ** /* info_rtrn */
-);
+extern int SetActionField(XkbDescPtr /* xkb */ ,
+ char * /* elem */ ,
+ char * /* field */ ,
+ ExprDef * /* index */ ,
+ ExprDef * /* value */ ,
+ ActionInfo ** /* info_rtrn */
+ );
-extern void ActionsInit(
- void
-);
+extern void ActionsInit(void);
extern LookupEntry ctrlNames[];