зеркало из https://github.com/github/putty.git
Remove two useless declarations.
One quite recent - an unused variable in the Windows code that was obsoleted by commitcea1329b9
last month - and one not recent at all, namely the obsolete declaration of begin_session() in putty.h that hasn't existed since commit7a79df8fe
replaced it with the ldisc system in *2001*!
This commit is contained in:
Родитель
ad0c502cef
Коммит
e053ea9a2e
1
putty.h
1
putty.h
|
@ -728,7 +728,6 @@ void modalfatalbox(const char *, ...);
|
|||
#pragma noreturn(modalfatalbox)
|
||||
#endif
|
||||
void do_beep(Frontend *frontend, int);
|
||||
void begin_session(Frontend *frontend);
|
||||
void sys_cursor(Frontend *frontend, int x, int y);
|
||||
void frontend_request_paste(Frontend *frontend, int clipboard);
|
||||
void frontend_keypress(Frontend *frontend);
|
||||
|
|
|
@ -23,7 +23,6 @@ Socket *new_named_pipe_client(const char *pipename, Plug *plug)
|
|||
HANDLE pipehandle;
|
||||
PSID usersid, pipeowner;
|
||||
PSECURITY_DESCRIPTOR psd;
|
||||
Socket *ret;
|
||||
|
||||
assert(strncmp(pipename, "\\\\.\\pipe\\", 9) == 0);
|
||||
assert(strchr(pipename + 9, '\\') == NULL);
|
||||
|
|
Загрузка…
Ссылка в новой задаче