diff --git a/specs/XKB/ch02.xml b/specs/XKB/ch02.xml
index 6507cb2f..e0b27cc9 100644
--- a/specs/XKB/ch02.xml
+++ b/specs/XKB/ch02.xml
@@ -737,13 +737,13 @@ indicated ID
Display and Device Specifications in Function Calls
Where a connection to the server is passed as an argument (Display*) and an
-XkbDescPtr
+XkbDescPtr
is also passed as an argument, the Display* argument must match the
dpy
field of the
XkbDescRec
pointed to by the
-XkbDescPtr
+XkbDescPtr
argument, or else the
dpy
field of the
@@ -793,14 +793,14 @@ its device identifier.
Where an Xkb device identifier is passed as an argument and an
-XkbDescPtr
+XkbDescPtr
is also passed as an argument, if either the argument or the
XkbDescRecdevice_spec
field is
XkbUseCoreKbd,
and if the function returns successfully, the
-XkbDescPtr
+XkbDescPtrdevice_spec
field will have been converted from
XkbUseCoreKbd
@@ -809,7 +809,7 @@ and if the function returns successfully, the
field remains unchanged. Subsequently, the device id argument must match the
device_spec
field of the
-XkbDescPtr
+XkbDescPtr
argument. If they don’t match, a
BadMatch
error is returned (either in the return value or a backfilled
diff --git a/specs/XKB/ch15.xml b/specs/XKB/ch15.xml
index a3c4819a..9158949d 100644
--- a/specs/XKB/ch15.xml
+++ b/specs/XKB/ch15.xml
@@ -2259,7 +2259,7 @@ as appropriate. If the
to include the
key
that was changed. See section 14.3.1 for more information on the
-XkbMapChangesPtr
+XkbMapChangesPtr
structure. If successful,
XkbChangeTypesOfKey
returns
diff --git a/specs/XKB/ch21.xml b/specs/XKB/ch21.xml
index ffeea2a4..902412a7 100644
--- a/specs/XKB/ch21.xml
+++ b/specs/XKB/ch21.xml
@@ -590,7 +590,7 @@ available via
XkbGetDeviceInfo.
These convenience functions mirror some of the mask bits. The functions all
take an
-XkbDeviceInfoPtr
+XkbDeviceInfoPtr
as an input argument and operate on the X Input Extension device specified by
the
device_spec