summaryrefslogtreecommitdiff
path: root/specs/CH08.xml
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-03-29 21:47:33 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-16 18:45:50 -0400
commitd9afa0ca6e677b446ce43f2f189c08cfe87f68f3 (patch)
treebea0b5acfceadf9a2c783c3c8405aa37bcad2f23 /specs/CH08.xml
parent1dd873e7bf2239b338d2b8c35607139c0d3d6e84 (diff)
downloadxorg-lib-libXt-d9afa0ca6e677b446ce43f2f189c08cfe87f68f3.tar.gz
whitespace-fixes, plus convert examples to standard C
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'specs/CH08.xml')
-rw-r--r--specs/CH08.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/specs/CH08.xml b/specs/CH08.xml
index 22000b4..2a987cc 100644
--- a/specs/CH08.xml
+++ b/specs/CH08.xml
@@ -101,8 +101,8 @@ of a NULL-terminated array of type
</para>
<literallayout >
typedef struct {
- XtCallbackProc callback;
- XtPointer closure;
+ XtCallbackProc callback;
+ XtPointer closure;
} XtCallbackRec, *XtCallbackList;
</literallayout>
<para>
@@ -111,9 +111,9 @@ clientDataA and clientDataB, respectively, is
</para>
<literallayout >
static XtCallbackRec callbacks[] = {
- {A, (XtPointer) clientDataA},
- {B, (XtPointer) clientDataB},
- {(XtCallbackProc) NULL, (XtPointer) NULL}
+ {A, (XtPointer) clientDataA},
+ {B, (XtPointer) clientDataB},
+ {(XtCallbackProc) NULL, (XtPointer) NULL}
};
</literallayout>
<para>