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:
@ -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);
|
||||
|
Reference in New Issue
Block a user