]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix log function declarations
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 16 May 2018 06:44:15 +0000 (12:44 +0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 16 May 2018 06:44:15 +0000 (12:44 +0600)
src/include/log.h
src/include/radiusd.h

index 4279420f2d3a680e33295f99fd7b589234d3a674..22d75bd519b3a9d799de76104cd0486ac7051df0 100644 (file)
@@ -72,6 +72,12 @@ void vlog_request(fr_log_type_t type, fr_log_lvl_t lvl, REQUEST *request, char c
 void   log_request(fr_log_type_t type, fr_log_lvl_t lvl, REQUEST *request, char const *msg, ...)
        CC_HINT(format (printf, 4, 5)) CC_HINT(nonnull (3, 4));
 
+void   log_module_failure_msg(REQUEST *request, char const *fmt, ...)
+       CC_HINT(format (printf, 2, 3));
+
+void   vlog_module_failure_msg(REQUEST *request, char const *fmt, va_list ap)
+       CC_HINT(format (printf, 2, 0));
+
 void   log_request_error(fr_log_type_t type, fr_log_lvl_t lvl, REQUEST *request, char const *msg, ...)
        CC_HINT(format (printf, 4, 5)) CC_HINT(nonnull (3, 4));
 
index 9b6dfcdadd51f072fc2d230873219609912d7ae2..4cfd24105bfcaf17bab9a5fa24ede7ae53497c63 100644 (file)
@@ -500,10 +500,6 @@ int radius_callback_compare(REQUEST *request, VALUE_PAIR *req,
 int radius_find_compare(fr_dict_attr_t const *attribute);
 VALUE_PAIR     *radius_pair_create(TALLOC_CTX *ctx, VALUE_PAIR **vps, unsigned int attribute, unsigned int vendor);
 
-void log_module_failure_msg(REQUEST *request, char const *fmt, ...) CC_HINT(format (printf, 2, 3));
-void vlog_module_failure_msg(REQUEST *request, char const *fmt, va_list ap) CC_HINT(format (printf, 2, 0));
-
-
 /*
  *     Less code == fewer bugs
  *