Fix two compiler warnings
authorAri Johnson <ari@theari.com>
Fri, 22 Apr 2011 22:28:29 +0000 (18:28 -0400)
committerAri Johnson <ari@theari.com>
Fri, 22 Apr 2011 22:28:29 +0000 (18:28 -0400)
src/conf.c
src/myssl.c

index 847e4e0007256c78460e19ad740e7e5ca4ba8495..84a2c7db07af064210f0d8f0829fae3ddeb2d771 100644 (file)
@@ -884,7 +884,7 @@ append_restriction(const char *r, const char *what, const char *opts)
    get changed -- but it'll catch most cases.
 */
 static void
-save_config_option(COBRA_CONF *cp)
+save_config_option(COBRA_CONF *cp __attribute__ ((__unused__)))
 {
 #if defined(HAVE_ED)
   FILE *ed;
index 4f96c20ec49b0d0524cc600d35a3117dceedbcb6..e521c8f82ec64fb28c646d77e6c335d244427ab6 100644 (file)
@@ -81,6 +81,7 @@ void shutdown_checkpoint(void);
 #include "myssl.h"
 #include "log.h"
 #include "parse.h"
+#include "SFMT.h"
 
 #define MYSSL_RB        0x1     /**< Read blocked (on read) */
 #define MYSSL_WB        0x2     /**< Write blocked (on write) */