From faf3eb58d676c3abbef538784e26ca398d339caf Mon Sep 17 00:00:00 2001
From: Mark Wooding <mdw@distorted.org.uk>
Date: Tue, 15 May 2018 10:46:00 +0100
Subject: [PATCH] doc/structures.tex, lib/sod-structs.3: Fix in-chain ichain
 exemplar.

The general ichain structure is for some superclass on the same chain,
but not necessarily the chain head.  The later prose already has this
right, but the synopsis at the beginning of the section didn't.
---
 doc/structures.tex | 2 +-
 lib/sod-structs.3  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/structures.tex b/doc/structures.tex
index fd97076..2dfe355 100644
--- a/doc/structures.tex
+++ b/doc/structures.tex
@@ -363,7 +363,7 @@ type @|struct $C$__ilayout|.
           @<type>_n @<slot>_n;                                \-\\
         \} $c$;                                               \-\\
       \} $c$;                                                   \\
-      struct $H$__ichain_$h$ $h$;                               \\
+      struct $A$__ichain_$h$ $a$;                               \\
       \quad$\vdots$                                           \-\\
     \} $h$;                                                     \\
     union $B$__ichainu_$i$ $i$;                                 \\
diff --git a/lib/sod-structs.3 b/lib/sod-structs.3
index 7ac5ccc..672fe59 100644
--- a/lib/sod-structs.3
+++ b/lib/sod-structs.3
@@ -542,7 +542,7 @@ struct \fIC\fB__ilayout {
 \h'6n'} \fIc\fB;
 \h'4n'} \fIc\fB;
 \h'4n'\fR...\fB
-\h'4n'struct \fIH\fB__ichain_\fIh\fB \fIh\fB;
+\h'4n'struct \fIA\fB__ichain_\fIh\fB \fIa\fB;
 \h'2n'} \fIh\fB;
 \h'2n'union \fIB\fB__ichainu_\fIi\fB \fIi\fB;
 \h'2n'\fR...\fB
-- 
2.11.0

