From 8c4e3d56d6f28ff668d2be6bff936dbbeee53688 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Fri, 22 Apr 2011 18:28:29 -0400 Subject: [PATCH] Fix two compiler warnings --- src/conf.c | 2 +- src/myssl.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 847e4e0..84a2c7d 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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; diff --git a/src/myssl.c b/src/myssl.c index 4f96c20..e521c8f 100644 --- a/src/myssl.c +++ b/src/myssl.c @@ -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) */ -- 2.30.2