projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: explicitly mark unused parameters (-Wunused-parameter)
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-vegid.c
diff --git
a/liblttng-ust/lttng-context-vegid.c
b/liblttng-ust/lttng-context-vegid.c
index a6306f3c6e1865064d8984add57eda810b2fb2ba..6b7d06981012097663b410c5a96ba5aded0e12f5 100644
(file)
--- a/
liblttng-ust/lttng-context-vegid.c
+++ b/
liblttng-ust/lttng-context-vegid.c
@@
-62,7
+62,8
@@
void lttng_context_vegid_reset(void)
}
static
}
static
-size_t vegid_get_size(struct lttng_ust_ctx_field *field, size_t offset)
+size_t vegid_get_size(struct lttng_ust_ctx_field *field __attribute__((unused)),
+ size_t offset)
{
size_t size = 0;
{
size_t size = 0;
@@
-72,7
+73,7
@@
size_t vegid_get_size(struct lttng_ust_ctx_field *field, size_t offset)
}
static
}
static
-void vegid_record(struct lttng_ust_ctx_field *field,
+void vegid_record(struct lttng_ust_ctx_field *field
__attribute__((unused))
,
struct lttng_ust_lib_ring_buffer_ctx *ctx,
struct lttng_ust_channel_buffer *chan)
{
struct lttng_ust_lib_ring_buffer_ctx *ctx,
struct lttng_ust_channel_buffer *chan)
{
@@
-83,7
+84,7
@@
void vegid_record(struct lttng_ust_ctx_field *field,
}
static
}
static
-void vegid_get_value(struct lttng_ust_ctx_field *field,
+void vegid_get_value(struct lttng_ust_ctx_field *field
__attribute__((unused))
,
struct lttng_ust_ctx_value *value)
{
value->u.s64 = get_vegid();
struct lttng_ust_ctx_value *value)
{
value->u.s64 = get_vegid();
This page took
0.023886 seconds
and
4
git commands to generate.