From: Jacob Nevins Date: Wed, 2 Mar 2011 00:18:03 +0000 (+0000) Subject: Fix probably-harmless type mismatch in nogss.c (and #include "putty.h" to stop X-Git-Tag: 0.61~15 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=91131fd1978aac8aa75c1403890187013bb5d93d;hp=767778cf1b621367be5087d47b68af7e97194adb;p=PuTTY.git Fix probably-harmless type mismatch in nogss.c (and #include "putty.h" to stop it happening again; this was spotted by GCC's "-flto" option). [originally from svn r9114] --- diff --git a/nogss.c b/nogss.c index 57a1b372..adb1e224 100644 --- 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 } };