Fix compile failures
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
43b8a1cc38
commit
fe33683c8b
@ -11,7 +11,9 @@
|
|||||||
# include <syslog.h>
|
# include <syslog.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLE_FEATURE_SYSLOG
|
||||||
smallint syslog_level = LOG_ERR;
|
smallint syslog_level = LOG_ERR;
|
||||||
|
#endif
|
||||||
smallint logmode = LOGMODE_STDIO;
|
smallint logmode = LOGMODE_STDIO;
|
||||||
const char *msg_eol = "\n";
|
const char *msg_eol = "\n";
|
||||||
|
|
||||||
|
@ -456,7 +456,7 @@ static void read_lines(void)
|
|||||||
readeof = eof_error;
|
readeof = eof_error;
|
||||||
if (eof_error <= 0)
|
if (eof_error <= 0)
|
||||||
goto reached_eof;
|
goto reached_eof;
|
||||||
had_progress = 1;
|
IF_FEATURE_LESS_REGEXP(had_progress = 1;)
|
||||||
}
|
}
|
||||||
c = readbuf[readpos];
|
c = readbuf[readpos];
|
||||||
/* backspace? [needed for manpages] */
|
/* backspace? [needed for manpages] */
|
||||||
|
Loading…
Reference in New Issue
Block a user