projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scope-exit: Clarify scope_exit noexcept requirement
[lttng-tools.git]
/
include
/
lttng
/
constant.h
diff --git
a/include/lttng/constant.h
b/include/lttng/constant.h
index faa582f7707d6609173b62bd0f45616e685ec455..2cbb4609566c174a7e5de91d3407608855ad4248 100644
(file)
--- a/
include/lttng/constant.h
+++ b/
include/lttng/constant.h
@@
-9,9
+9,7
@@
#define LTTNG_CONSTANT_H
#ifndef LTTNG_DEPRECATED
#define LTTNG_CONSTANT_H
#ifndef LTTNG_DEPRECATED
-#if defined (__GNUC__) \
- && ((__GNUC_MAJOR__ == 4) && (__GNUC_MINOR__ >= 5) \
- || __GNUC_MAJOR__ >= 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))
#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.
*/
/*
* 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.
*/
/*
* 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.
/*
* POSIX guarantees that a host name will not exceed 255 characters.
@@
-53,8
+51,8
@@
*
* 256 is used to include a trailing NULL character.
*/
*
* 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 */
#endif /* LTTNG_CONSTANT_H */
This page took
0.024387 seconds
and
4
git commands to generate.