X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fconstant.h;fp=include%2Flttng%2Fconstant.h;h=2cbb4609566c174a7e5de91d3407608855ad4248;hp=1b6f44d8bc95e5622019c7dfcec7b65dd7a52aef;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b diff --git a/include/lttng/constant.h b/include/lttng/constant.h index 1b6f44d8b..2cbb46095 100644 --- a/include/lttng/constant.h +++ b/include/lttng/constant.h @@ -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)) @@ -35,16 +33,16 @@ /* * 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 */