forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/707144 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <[email protected]>
- Loading branch information
Sergei Trofimovich
committed
Jan 29, 2020
1 parent
3d9a4a3
commit 8c07d20
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- a/src/linux/syscall-linux.c | ||
+++ b/src/linux/syscall-linux.c | ||
@@ -538,7 +538,7 @@ pid_t cons_pid = -1; | ||
static int cfd = -1; | ||
BOOL trace_syscalls; | ||
char *consLog = NULL; | ||
-extern BOOL noConsole; | ||
+BOOL noConsole; | ||
extern BOOL userint; | ||
static struct termios sane_ttyIos; | ||
|
||
--- a/src/platform.c | ||
+++ b/src/platform.c | ||
@@ -29,7 +29,7 @@ | ||
#include "platform.h" | ||
#include "state.h" | ||
|
||
-BOOL autoAlloc, noConsole; | ||
+extern BOOL autoAlloc, noConsole; | ||
extern char *consLog; | ||
extern unsigned va_len, pa_len, rid_len, key_len; | ||
extern unsigned mips; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters