Renove some unnecessary low-level markup.

Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter.
This appears to have been somebody's thinko, it's only in a few of the files.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
This commit is contained in:
Eric S. Raymond 2012-08-23 19:15:07 -04:00
parent b686600ab5
commit 44cdc0dc2c
5 changed files with 13 additions and 20 deletions

View file

@ -24,14 +24,12 @@
.SH NAME
XkbGetNamedGeometry \- Loads a keyboard geometry description from this database
by name
.SH SYNTAX
.SH SYNOPSIS
.HP
.B Status XkbGetNamedGeometry
.BI "(\^Display *" "dpy" "\^,"
.BI "XkbDescPtr " "xkb" "\^,"
.BI "Atom " "name" "\^);"
.if n .ti +5n
.if t .ti +.5i
.SH ARGUMENTS
.TP
.I \- dpy

View file

@ -27,8 +27,6 @@ XkbSAGroup \- Returns the group_XXX field of act converted to a signed int
.HP
.B int XkbSAGroup
.BI "(\^XkbAction " "act" "\^);"
.if n .ti +5n
.if t .ti +.5i
.SH ARGUMENTS
.TP
.I \- act
@ -47,14 +45,15 @@ Actions associated with the XkbGroupAction structure change the current group
state when keys are
pressed and released:
.nf
.ft CW
typedef struct _XkbGroupAction {
unsigned char type; /\(** XkbSA_{Set|Latch|Lock}Group */
unsigned char flags; /\(** with type, controls the effect on groups
*/
char group_XXX; /\(** represents a group index or delta */
} XkbGroupAction;
.ft
.fi
.SH WARNING
.LP
This manpage seems to be incomplete

View file

@ -23,13 +23,11 @@
.TH XkbSASetGroup __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
.SH NAME
XkbSASetGroup \- Sets the group_XXX field of act from the group index grp
.SH SYNTAX
.SH SYNOPSIS
.HP
.B void XkbSASetGroup
.BI "(\^XkbAction " "act" "\^,"
.BI "int " "grp" "\^);"
.if n .ti +5n
.if t .ti +.5i
.SH ARGUMENTS
.TP
.I \- act
@ -48,16 +46,18 @@ from the group index
.I grp.
.SH STRUCTURE
.LP
Actions associated with the XkbGroupAction structure change the current group state when keys are
pressed and released:
.nf
Actions associated with the XkbGroupAction structure change the
current group state when keys are pressed and released:
.nf
.ft CW
typedef struct _XkbGroupAction {
unsigned char type; /\(** XkbSA_{Set|Latch|Lock}Group */
unsigned char flags; /\(** with type, controls the effect on groups */
char group_XXX; /\(** represents a group index or delta */
} XkbGroupAction;
.ft
.fi
.SH WARNING
.LP
This manpage seems to be incomplete

View file

@ -22,14 +22,12 @@
.TH XkbSetDetectableAutoRepeat __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
.SH NAME
XkbSetDetectableAutoRepeat \- Sets DetectableAutoRepeat
.SH SYNTAX
.SH SYNOPSIS
.HP
.B Bool XkbSetDetectableAutoRepeat
.BI "(\^Display *" "display" "\^,"
.BI "Bool " "detectable" "\^,"
.BI "Bool *" "supported_rtrn" "\^);"
.if n .ti +5n
.if t .ti +.5i
.SH ARGUMENTS
.TP
.I \- display

View file

@ -23,15 +23,13 @@
.TH XkbSetDeviceButtonActions __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
.SH NAME
XkbSetDeviceButtonActions \- Change only the button actions for an input extension device
.SH SYNTAX
.SH SYNOPSIS
.HP
.B Bool XkbSetDeviceButtonActions
.BI "(\^Display *" "dpy" "\^,"
.BI "XkbDeviceInfoPtr " "device" "\^,"
.BI "unsigned int " "first_button" "\^,"
.BI "unsigned int " "num_buttons" "\^);"
.if n .ti +5n
.if t .ti +.5i
.SH ARGUMENTS
.TP
.I \- dpy