doc: gnunet-c-tutorial: include testbed_test.c
authorng0 <ng0@infotropique.org>
Tue, 5 Sep 2017 12:06:21 +0000 (12:06 +0000)
committerng0 <ng0@infotropique.org>
Tue, 5 Sep 2017 12:06:21 +0000 (12:06 +0000)
doc/gnunet-c-tutorial.texi

index 12348801a817f1b68246d936e9c3a9c2efe59c76..2973dd779bf891504f725e45bc142f2589991e9f 100644 (file)
@@ -457,8 +457,9 @@ found in the testbed default configuration file @file{src/testbed/testbed.conf}.
 
 With the testbed API, a sample test case can be structured as follows:
 @c* <lynX> Is there a way to pick a more readable font for this include?
-\lstset{language=C}
-\lstinputlisting{testbed_test.c}
+@example
+@verbatiminclude testbed_test.c
+@end example
 The source code for the above listing can be found at
 @uref{https://gnunet.org/git/gnunet.git/tree/doc/testbed_test.c}
 or in the @file{doc/} folder of your repository check-out.