Clean-up: run format-cpp on the tree
[lttng-tools.git] / include / lttng / constant.h
index 1b6f44d8bc95e5622019c7dfcec7b65dd7a52aef..2cbb4609566c174a7e5de91d3407608855ad4248 100644 (file)
@@ -9,9 +9,7 @@
 #define LTTNG_CONSTANT_H
 
 #ifndef LTTNG_DEPRECATED
-#if defined (__GNUC__) \
-       && ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5)  \
-                       || __GNUC__ >= 5)
+#if defined(__GNUC__) && ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5) || __GNUC__ >= 5)
 #define LTTNG_DEPRECATED(msg) __attribute__((deprecated(msg)))
 #else
 #define LTTNG_DEPRECATED(msg) __attribute__((deprecated))
 /*
  * Event symbol length. Copied from LTTng kernel ABI.
  */
-#define LTTNG_SYMBOL_NAME_LEN                  256
+#define LTTNG_SYMBOL_NAME_LEN 256
 
 /*
  * PROC(5) mentions that PID_MAX_LIMIT may not exceed 2^22 on 64-bit HW.
  * We prefer to use 32-bits for simplicity's sake.
  */
-#define LTTNG_MAX_PID                          INT32_MAX
-#define LTTNG_MAX_PID_STR                      "2147483647"
+#define LTTNG_MAX_PID    INT32_MAX
+#define LTTNG_MAX_PID_STR "2147483647"
 
-#define LTTNG_NAME_MAX                         255
+#define LTTNG_NAME_MAX 255
 
 /*
  * POSIX guarantees that a host name will not exceed 255 characters.
@@ -53,8 +51,8 @@
  *
  * 256 is used to include a trailing NULL character.
  */
-#define LTTNG_HOST_NAME_MAX                    256
+#define LTTNG_HOST_NAME_MAX 256
 
-#define LTTNG_PATH_MAX                         4096
+#define LTTNG_PATH_MAX 4096
 
 #endif /* LTTNG_CONSTANT_H */
This page took 0.023524 seconds and 4 git commands to generate.