diff options
author | Thiago Farina <tfransosi@gmail.com> | 2010-11-28 23:14:31 -0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-28 17:20:07 -0800 |
commit | 9744421f3ca0a6f812182b52745dcfabdcb987f8 (patch) | |
tree | d045f106d92109414229748cb5bdacd9f73a50d9 | |
parent | a1891f8efcfdd78dc2f0494f8abad2dc366b6f29 (diff) | |
download | uemacs-9744421f3ca0a6f812182b52745dcfabdcb987f8.tar.gz |
uemacs: Move MAXNLINE constant from estruct.h to file.c
This constant is used only there, so there is no reason for it to be
in estruct.h
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | estruct.h | 4 | ||||
-rw-r--r-- | file.c | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -242,10 +242,6 @@ #define CTLX 0x0400 /* ^X flag, or'ed in */ #define SPEC 0x0800 /* special key (function keys) */ -#if PKCODE -#define MAXNLINE 10000000 /* max lines from one file */ -#endif - #ifdef FALSE #undef FALSE #endif @@ -15,6 +15,11 @@ #include "efunc.h" #include "line.h" +#if defined(PKCODE) +/* Max number of lines from one file. */ +#define MAXNLINE 10000000 +#endif + /* * Read a file into the current * buffer. This is really easy; all you do it |