Documentation: magic-numbers: Fix typo
This fixes a little then / them confusion. Signed-off-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
52c37d410d
commit
738947f0f3
@ -14,7 +14,7 @@ passing pointers to structures via a void * pointer. The tty code,
|
|||||||
for example, does this frequently to pass driver-specific and line
|
for example, does this frequently to pass driver-specific and line
|
||||||
discipline-specific structures back and forth.
|
discipline-specific structures back and forth.
|
||||||
|
|
||||||
The way to use magic numbers is to declare then at the beginning of
|
The way to use magic numbers is to declare them at the beginning of
|
||||||
the structure, like so::
|
the structure, like so::
|
||||||
|
|
||||||
struct tty_ldisc {
|
struct tty_ldisc {
|
||||||
|
Loading…
Reference in New Issue
Block a user