doc: fix references to examples in variables.rst
Files had been changed without the offsets being updated, so it was generating warnings. Change-Id: I5c7756f396cf607470da1ce6c5807e5a343491d2 Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
This commit is contained in:
parent
71228b4ad1
commit
e03babf7d0
1 changed files with 4 additions and 5 deletions
|
@ -29,7 +29,7 @@ the best practices.
|
|||
|
||||
.. literalinclude:: phil_fiber_commented.c
|
||||
:language: c
|
||||
:lines: 110-168
|
||||
:lines: 92-160
|
||||
:emphasize-lines: 15, 18, 21-23, 25, 31
|
||||
:linenos:
|
||||
|
||||
|
@ -53,9 +53,8 @@ Example 2
|
|||
=========
|
||||
Variables outside of functions must be documented as well.
|
||||
|
||||
.. literalinclude:: hello_commented.c
|
||||
:language: c
|
||||
:lines: 133-140
|
||||
.. literalinclude:: ./hello_commented.c
|
||||
:lines: 119-127
|
||||
:emphasize-lines: 1, 4, 7
|
||||
:linenos:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue