1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 07:16:23 -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:
Thiago Farina 2010-11-28 23:14:31 -02:00 committed by Linus Torvalds
parent a1891f8efc
commit 9744421f3c
2 changed files with 5 additions and 4 deletions

View File

@ -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

5
file.c
View File

@ -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