Merge pull request #1253 from SergeGautherie/SergeGautherie/PRonly_Log2Lines_handle_escape_cmd_Path-LineOut

[LOG2LINES] handle_escape_cmd(): Remove 2 unused parameters
This commit is contained in:
Serge Gautherie 2019-03-16 11:23:27 +01:00 committed by Mark Jansen
parent 29c9e92c9e
commit 1631f37404
3 changed files with 3 additions and 3 deletions

View file

@ -177,7 +177,7 @@ handle_address_cmd(FILE *outFile, char *arg)
} }
char char
handle_escape_cmd(FILE *outFile, char *Line, char *path, char *LineOut) handle_escape_cmd(FILE *outFile, char *Line)
{ {
char cmd; char cmd;
char sep = '\n'; char sep = '\n';

View file

@ -18,6 +18,6 @@
#define KDBG_CONT "---" //Also after this pattern (prompt with no line ending) #define KDBG_CONT "---" //Also after this pattern (prompt with no line ending)
#define KDBG_DISCARD "Command '" KDBG_ESC_STR //Discard responses at l2l escape commands #define KDBG_DISCARD "Command '" KDBG_ESC_STR //Discard responses at l2l escape commands
char handle_escape_cmd(FILE *outFile, char *Line, char *path, char *LineOut); char handle_escape_cmd(FILE *outFile, char *Line);
/* EOF */ /* EOF */

View file

@ -439,7 +439,7 @@ translate_files(FILE *inFile, FILE *outFile)
} }
else else
{ {
Line[1] = handle_escape_cmd(outFile, Line, path, LineOut); Line[1] = handle_escape_cmd(outFile, Line);
if (Line[1] != KDBG_ESC_CHAR) if (Line[1] != KDBG_ESC_CHAR)
{ {
if (p == p_eos) if (p == p_eos)