aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-15 15:54:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-15 15:54:43 +0000
commit27e45bef83fe17b339fe345e3455a67b7416e1d3 (patch)
treea916601653c8eaca9488d7dd55b4de565078047d /contrib
parent46fd25c4dda2e4cc25f662dc5cb5dad0d4380503 (diff)
downloadrspamd-27e45bef83fe17b339fe345e3455a67b7416e1d3.tar.gz
rspamd-27e45bef83fe17b339fe345e3455a67b7416e1d3.zip
Fix warnings.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/librdns/logger.h8
-rw-r--r--contrib/xxhash/xxhash.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/contrib/librdns/logger.h b/contrib/librdns/logger.h
index 91108f4e3..f9c33bbe4 100644
--- a/contrib/librdns/logger.h
+++ b/contrib/librdns/logger.h
@@ -34,9 +34,9 @@ void rdns_logger_helper (struct rdns_resolver *resolver,
enum rdns_log_level level,
const char *function, const char *format, ...);
-#define rdns_err(...) do { rdns_logger_helper (resolver, RDNS_LOG_ERROR, __FUNCTION__, __VA_ARGS__); } while (0)
-#define rdns_warn(...) do { rdns_logger_helper (resolver, RDNS_LOG_WARNING, __FUNCTION__, __VA_ARGS__); } while (0)
-#define rdns_info(...) do { rdns_logger_helper (resolver, RDNS_LOG_INFO, __FUNCTION__, __VA_ARGS__); } while (0)
-#define rdns_debug(...) do { rdns_logger_helper (resolver, RDNS_LOG_DEBUG, __FUNCTION__, __VA_ARGS__); } while (0)
+#define rdns_err(...) do { rdns_logger_helper (resolver, RDNS_LOG_ERROR, __func__, __VA_ARGS__); } while (0)
+#define rdns_warn(...) do { rdns_logger_helper (resolver, RDNS_LOG_WARNING, __func__, __VA_ARGS__); } while (0)
+#define rdns_info(...) do { rdns_logger_helper (resolver, RDNS_LOG_INFO, __func__, __VA_ARGS__); } while (0)
+#define rdns_debug(...) do { rdns_logger_helper (resolver, RDNS_LOG_DEBUG, __func__, __VA_ARGS__); } while (0)
#endif /* LOGGER_H_ */
diff --git a/contrib/xxhash/xxhash.c b/contrib/xxhash/xxhash.c
index 4e3e2d03f..db72061dc 100644
--- a/contrib/xxhash/xxhash.c
+++ b/contrib/xxhash/xxhash.c
@@ -544,7 +544,7 @@ XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr)
{
XXH_free(statePtr);
return XXH_OK;
-};
+}
XXH64_state_t* XXH64_createState(void)
{
@@ -555,7 +555,7 @@ XXH_errorcode XXH64_freeState(XXH64_state_t* statePtr)
{
XXH_free(statePtr);
return XXH_OK;
-};
+}
/*** Hash feed ***/