1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Remove a couple of double-typedefs.

Experimenting with different compile flags pointed out two instances
of typedefing the same name twice (though benignly, with the same
definition as well). PsocksDataSink was typedefed a couple of lines
above its struct definition and then again _with_ its struct
definition; cliloop_continue_t was typedefed in unix/platform.h and
didn't need defining again in unix/psocks.c.
This commit is contained in:
Simon Tatham
2023-08-27 09:36:37 +01:00
parent da550c3158
commit 3d34007889
2 changed files with 2 additions and 5 deletions

View File

@ -160,9 +160,6 @@ static bool psocks_continue(void *ctx, bool found_any_fd,
return still_running;
}
typedef bool (*cliloop_continue_t)(void *ctx, bool found_any_fd,
bool ran_any_callback);
int main(int argc, char **argv)
{
psocks_state *ps = psocks_new(&platform);