1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Fix miscellaneous compiler warnings. Thanks to Jacob Nevins

[originally from svn r755]
This commit is contained in:
Simon Tatham
2000-10-24 10:47:49 +00:00
parent 5ff9cc2f1f
commit 384eeb3f76
10 changed files with 18 additions and 4 deletions

View File

@ -14,6 +14,9 @@
* send _that_ to the receiver function with `urgent' set.
*/
#ifndef PUTTY_NETWORK_H
#define PUTTY_NETWORK_H
typedef struct Socket_tag *Socket;
typedef struct SockAddr_tag *SockAddr;
typedef int (*sk_receiver_t)(Socket s, int urgent, char *data, int len);
@ -42,3 +45,5 @@ void *sk_get_private_ptr(Socket s);
*/
char *sk_addr_error(SockAddr addr);
char *sk_socket_error(Socket addr);
#endif