Remove two useless declarations.

One quite recent - an unused variable in the Windows code that was
obsoleted by commit cea1329b9 last month - and one not recent at all,
namely the obsolete declaration of begin_session() in putty.h that
hasn't existed since commit 7a79df8fe replaced it with the ldisc
system in *2001*!
This commit is contained in:
Simon Tatham 2018-10-10 19:32:41 +01:00
Родитель ad0c502cef
Коммит e053ea9a2e
2 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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);