mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Make 'LogContext' a typedef visible throughout the code.
Same principle again - the more of these structures have globally visible tags (even if the structure contents are still opaque in most places), the fewer of them I can mistake for each other.
This commit is contained in:
@ -335,7 +335,7 @@ void pgp_fingerprints(void)
|
||||
" " PGP_PREV_MASTER_KEY_FP "\n", stdout);
|
||||
}
|
||||
|
||||
void console_provide_logctx(void *logctx)
|
||||
void console_provide_logctx(LogContext *logctx)
|
||||
{
|
||||
console_logctx = logctx;
|
||||
}
|
||||
|
@ -414,7 +414,7 @@ static void serial_provide_ldisc(void *handle, Ldisc *ldisc)
|
||||
/* This is a stub. */
|
||||
}
|
||||
|
||||
static void serial_provide_logctx(void *handle, void *logctx)
|
||||
static void serial_provide_logctx(void *handle, LogContext *logctx)
|
||||
{
|
||||
/* This is a stub. */
|
||||
}
|
||||
|
@ -240,7 +240,7 @@ void quit_help(HWND hwnd);
|
||||
* windlg.c. Likewise the saved-sessions list.
|
||||
*/
|
||||
GLOBAL Terminal *term;
|
||||
GLOBAL void *logctx;
|
||||
GLOBAL LogContext *logctx;
|
||||
|
||||
/*
|
||||
* Windows-specific clipboard helper function shared with windlg.c,
|
||||
|
Reference in New Issue
Block a user