]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rlm_kafka: tidy header includes to match the module standard
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 22 Apr 2026 17:12:40 +0000 (13:12 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 23 Apr 2026 17:58:14 +0000 (13:58 -0400)
Move RCSID / USES_APPLE_DEPRECATED_API above the includes, switch
the three `#include "lib/util/..."` to `<freeradius-devel/util/...>`
to match every other module, group includes by subsystem, and pull
pthread.h in alongside the other system headers in anticipation of
the upcoming thread-ownership sanity check.

src/modules/rlm_kafka/rlm_kafka.c

index 5bf66b2626d772d0ee245f0e0f9c06a58905751c..17f22f17ae874be565e0109a7fcb1176a4467d0b 100644 (file)
  *
  * @copyright 2022,2026 Arran Cudbard-Bell (a.cudbardb@freeradius.org)
  */
-#include "lib/util/debug.h"
-#include "lib/util/types.h"
-#include "lib/util/value.h"
 RCSID("$Id$")
+
 USES_APPLE_DEPRECATED_API
 
+#include <freeradius-devel/util/debug.h>
+#include <freeradius-devel/util/dlist.h>
+#include <freeradius-devel/util/misc.h>
+#include <freeradius-devel/util/rb.h>
+#include <freeradius-devel/util/types.h>
+#include <freeradius-devel/util/value.h>
+
+#include <freeradius-devel/kafka/base.h>
+
 #include <freeradius-devel/server/base.h>
 #include <freeradius-devel/server/module_rlm.h>
+
 #include <freeradius-devel/unlang/call_env.h>
 #include <freeradius-devel/unlang/module.h>
 #include <freeradius-devel/unlang/xlat.h>
 #include <freeradius-devel/unlang/xlat_ctx.h>
 #include <freeradius-devel/unlang/xlat_func.h>
 #include <freeradius-devel/unlang/xlat_priv.h>
-#include <freeradius-devel/util/dlist.h>
-#include <freeradius-devel/util/misc.h>
-#include <freeradius-devel/util/rb.h>
-#include <freeradius-devel/kafka/base.h>
 
 #include <fcntl.h>
+#include <pthread.h>
 #include <unistd.h>
 
 /** Module instance data