Skip to content

Commit

Permalink
Documentation: Fix misconversion of #if
Browse files Browse the repository at this point in the history
At some stage of the conversion pipeline, something thought that the
DocBook entity # should be rendered as NUM instead of #.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
Matthew Wilcox authored and Jonathan Corbet committed Jan 17, 2018
1 parent 36bde81 commit 423860a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/kernel-hacking/hacking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -690,8 +690,8 @@ not provide the necessary runtime environment and the include files are
not tested for it. It is still possible, but not recommended. If you
really want to do this, forget about exceptions at least.

NUMif
-----
#if
---

It is generally considered cleaner to use macros in header files (or at
the top of .c files) to abstract away functions rather than using \`#if'
Expand Down

0 comments on commit 423860a

Please sign in to comment.