Fix a couple of signedness compiler warnings, presumably due to me
[u/mdw/putty] / be_nossh.c
index 54e0d42..18ba32a 100644 (file)
@@ -3,10 +3,13 @@
  * including ssh.
  */
 
-#include <windows.h>
 #include <stdio.h>
 #include "putty.h"
 
+const int be_default_protocol = PROT_TELNET;
+
+const char *const appname = "PuTTYtel";
+
 struct backend_list backends[] = {
     {PROT_TELNET, "telnet", &telnet_backend},
     {PROT_RLOGIN, "rlogin", &rlogin_backend},
@@ -17,14 +20,14 @@ struct backend_list backends[] = {
 /*
  * Stub implementations of functions not used in non-ssh versions.
  */
-void random_save_seed(void) {
-}
-
-void random_destroy_seed(void) {
+void random_save_seed(void)
+{
 }
 
-void noise_ultralight(DWORD data) {
+void random_destroy_seed(void)
+{
 }
 
-void noise_regular(void) {
+void noise_ultralight(unsigned long data)
+{
 }