summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content.tex9
-rw-r--r--headerfile.tex8
-rw-r--r--main.tex2
3 files changed, 10 insertions, 9 deletions
diff --git a/content.tex b/content.tex
index 8cd408b..d66f89c 100644
--- a/content.tex
+++ b/content.tex
@@ -4357,15 +4357,6 @@ Legacy or transitional devices may offer the following:
correct feature negotiation, and should not be used.
\end{description}
-\chapter{virtio_ring.h}\label{sec:virtio-ring.h}
-
-This file is also available at the link
-\url{\virtiourlbase/listings/virtio_ring.h}.
-All definitions in this section are for non-normative reference
-only.
-
-\lstinputlisting{virtio-ring.h}
-
\chapter{Creating New Device Types}\label{sec:Creating New Device Types}
Various considerations are necessary when creating a new device
diff --git a/headerfile.tex b/headerfile.tex
new file mode 100644
index 0000000..603467b
--- /dev/null
+++ b/headerfile.tex
@@ -0,0 +1,8 @@
+\chapter{virtio_ring.h}\label{sec:virtio-ring.h}
+
+This file is also available at the link
+\url{\virtiourlbase/listings/virtio_ring.h}.
+All definitions in this section are for non-normative reference
+only.
+
+\lstinputlisting{virtio-ring.h}
diff --git a/main.tex b/main.tex
index 7cc3d69..314b0de 100644
--- a/main.tex
+++ b/main.tex
@@ -38,6 +38,8 @@
\appendix
\def\@chapapp{\appendixname}
+\input{headerfile.tex}
+
% acknowledgements
\input{acknowledgements.tex}