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-vsuid.c
diff --git
a/liblttng-ust/lttng-context-vsuid.c
b/liblttng-ust/lttng-context-vsuid.c
index ff58a7412fde49fee1935ca1ff0bd0c4eae4717f..f1fe8e211087c6ab902003f539d23b7c80cfa255 100644
(file)
--- a/
liblttng-ust/lttng-context-vsuid.c
+++ b/
liblttng-ust/lttng-context-vsuid.c
@@
-66,7
+66,8
@@
void lttng_context_vsuid_reset(void)
}
static
}
static
-size_t vsuid_get_size(struct lttng_ust_ctx_field *field, size_t offset)
+size_t vsuid_get_size(struct lttng_ust_ctx_field *field __attribute__((unused)),
+ size_t offset)
{
size_t size = 0;
{
size_t size = 0;
@@
-76,7
+77,7
@@
size_t vsuid_get_size(struct lttng_ust_ctx_field *field, size_t offset)
}
static
}
static
-void vsuid_record(struct lttng_ust_ctx_field *field,
+void vsuid_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)
{
@@
-87,7
+88,7
@@
void vsuid_record(struct lttng_ust_ctx_field *field,
}
static
}
static
-void vsuid_get_value(struct lttng_ust_ctx_field *field,
+void vsuid_get_value(struct lttng_ust_ctx_field *field
__attribute__((unused))
,
struct lttng_ust_ctx_value *value)
{
value->u.s64 = get_vsuid();
struct lttng_ust_ctx_value *value)
{
value->u.s64 = get_vsuid();
This page took
0.024349 seconds
and
4
git commands to generate.