mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
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:
parent
ad0c502cef
commit
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);
|
||||
|
Loading…
Reference in New Issue
Block a user