projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring: add back constness of public API structures
[lttng-ust.git]
/
liblttng-ust
/
event-notifier-notification.c
diff --git
a/liblttng-ust/event-notifier-notification.c
b/liblttng-ust/event-notifier-notification.c
index b9b0a7c61412d3a392bb95a26cabb439884a039b..b3e2c94f1bd7a2d7180ad64256bcb325ea393e85 100644
(file)
--- a/
liblttng-ust/event-notifier-notification.c
+++ b/
liblttng-ust/event-notifier-notification.c
@@
-64,7
+64,7
@@
void capture_enum(struct lttng_msgpack_writer *writer,
static
int64_t capture_sequence_element_signed(uint8_t *ptr,
static
int64_t capture_sequence_element_signed(uint8_t *ptr,
- struct lttng_ust_type_integer *integer_type)
+
const
struct lttng_ust_type_integer *integer_type)
{
int64_t value;
unsigned int size = integer_type->size;
{
int64_t value;
unsigned int size = integer_type->size;
@@
-113,7
+113,7
@@
int64_t capture_sequence_element_signed(uint8_t *ptr,
static
uint64_t capture_sequence_element_unsigned(uint8_t *ptr,
static
uint64_t capture_sequence_element_unsigned(uint8_t *ptr,
- struct lttng_ust_type_integer *integer_type)
+
const
struct lttng_ust_type_integer *integer_type)
{
uint64_t value;
unsigned int size = integer_type->size;
{
uint64_t value;
unsigned int size = integer_type->size;
@@
-164,8
+164,8
@@
static
void capture_sequence(struct lttng_msgpack_writer *writer,
struct lttng_interpreter_output *output)
{
void capture_sequence(struct lttng_msgpack_writer *writer,
struct lttng_interpreter_output *output)
{
- struct lttng_ust_type_integer *integer_type;
- struct lttng_ust_type_common *nested_type;
+
const
struct lttng_ust_type_integer *integer_type;
+
const
struct lttng_ust_type_common *nested_type;
uint8_t *ptr;
bool signedness;
int i;
uint8_t *ptr;
bool signedness;
int i;
This page took
0.024844 seconds
and
4
git commands to generate.