futex.h: Indent preprocessor directives
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Jun 2024 14:19:04 +0000 (10:19 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Jun 2024 14:19:04 +0000 (10:19 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I45f64007244dc3143cff81c6957a7c2e0a3003bd

include/urcu/futex.h

index f4c115a4c2f61aec15fd82eafbc9a0b18481a61a..f1181ee4a6011022af997b53b375addc93ba9137 100644 (file)
 #if (defined(__linux__) && defined(__NR_futex))
 
 /* For backwards compat */
-#define CONFIG_RCU_HAVE_FUTEX 1
+# define CONFIG_RCU_HAVE_FUTEX 1
 
-#include <unistd.h>
-#include <errno.h>
-#include <urcu/compiler.h>
-#include <urcu/arch.h>
-#include <urcu/assert.h>
+# include <unistd.h>
+# include <errno.h>
+# include <urcu/compiler.h>
+# include <urcu/arch.h>
+# include <urcu/assert.h>
 
 #elif defined(__FreeBSD__)
 
-#include <sys/types.h>
-#include <sys/umtx.h>
+# include <sys/types.h>
+# include <sys/umtx.h>
 
 #elif defined(__OpenBSD__)
 
-#include <sys/time.h>
-#include <sys/futex.h>
+# include <sys/time.h>
+# include <sys/futex.h>
 
 #endif
 
@@ -44,8 +44,8 @@ extern "C" {
 #endif
 
 #ifndef __OpenBSD__
-#define FUTEX_WAIT             0
-#define FUTEX_WAKE             1
+# define FUTEX_WAIT            0
+# define FUTEX_WAKE            1
 #endif
 
 /*
This page took 0.032276 seconds and 4 git commands to generate.