mirror of
https://github.com/rfivet/uemacs.git
synced 2025-02-20 23:17:13 -05:00
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>
This commit is contained in:
parent
a1891f8efc
commit
9744421f3c
@ -242,10 +242,6 @@
|
|||||||
#define CTLX 0x0400 /* ^X flag, or'ed in */
|
#define CTLX 0x0400 /* ^X flag, or'ed in */
|
||||||
#define SPEC 0x0800 /* special key (function keys) */
|
#define SPEC 0x0800 /* special key (function keys) */
|
||||||
|
|
||||||
#if PKCODE
|
|
||||||
#define MAXNLINE 10000000 /* max lines from one file */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef FALSE
|
#ifdef FALSE
|
||||||
#undef FALSE
|
#undef FALSE
|
||||||
#endif
|
#endif
|
||||||
|
5
file.c
5
file.c
@ -15,6 +15,11 @@
|
|||||||
#include "efunc.h"
|
#include "efunc.h"
|
||||||
#include "line.h"
|
#include "line.h"
|
||||||
|
|
||||||
|
#if defined(PKCODE)
|
||||||
|
/* Max number of lines from one file. */
|
||||||
|
#define MAXNLINE 10000000
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Read a file into the current
|
* Read a file into the current
|
||||||
* buffer. This is really easy; all you do it
|
* buffer. This is really easy; all you do it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user