Fix probably-harmless type mismatch in nogss.c (and #include "putty.h" to stop
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 2 Mar 2011 00:18:03 +0000 (00:18 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 2 Mar 2011 00:18:03 +0000 (00:18 +0000)
it happening again; this was spotted by GCC's "-flto" option).

git-svn-id: svn://svn.tartarus.org/sgt/putty@9114 cda61777-01e9-0310-a592-d414129be87e

nogss.c

diff --git a/nogss.c b/nogss.c
index 57a1b37..adb1e22 100644 (file)
--- a/nogss.c
+++ b/nogss.c
@@ -4,7 +4,8 @@
  * use for them.
  */
 
+#include "putty.h"
+
 const int ngsslibs = 0;
 const char *const gsslibnames[1] = { "dummy" };
-const char *const gsslibkeywords[1] = { "dummy" };
-
+const struct keyval gsslibkeywords[1] = { { "dummy", 0 } };