Miscellaneous fixes to try to make other compilers happier
[u/mdw/putty] / be_nossh.c
1 /*
2 * Linking module for PuTTYtel: list the available backends not
3 * including ssh.
4 */
5
6 #include <windows.h>
7 #ifndef AUTO_WINSOCK
8 #ifdef WINSOCK_TWO
9 #include <winsock2.h>
10 #else
11 #include <winsock.h>
12 #endif
13 #endif
14 #include <stdio.h>
15 #include "putty.h"
16
17 struct backend_list backends[] = {
18 {PROT_TELNET, "telnet", &telnet_backend},
19 {PROT_RAW, "raw", &raw_backend},
20 {0, NULL}
21 };
22
23 /*
24 * Stub implementations of functions not used in non-ssh versions.
25 */
26 void random_save_seed(void) {
27 }
28
29 void random_destroy_seed(void) {
30 }
31
32 void noise_ultralight(DWORD data) {
33 }
34