]> git.hungrycats.org Git - linux/commit
[PATCH] reduce pty.c ifdef clutter
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Aug 2004 04:31:47 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 04:31:47 +0000 (21:31 -0700)
commitdaf178a72657a3ffe6ec6c39c07c1b10c972f6d0
tree31a652361b6983baf4ce7722d3ae590fdd52a188
parenta64a3bab75b2decf0664011ea7f571d97033ee84
[PATCH] reduce pty.c ifdef clutter

- build only if either CONFIG_LEGACY_PTYS or CONFIG_UNIX98_PTYS are set
  instead of testing in the file

- try to keep big CONFIG_LEGACY_PTYS and CONFIG_UNIX98_PTYS ifdef blocks
  at the end of the file instead of cluttering all over

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/Makefile
drivers/char/pty.c