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-libc-wrapper
/
lttng-ust-malloc.c
diff --git
a/liblttng-ust-libc-wrapper/lttng-ust-malloc.c
b/liblttng-ust-libc-wrapper/lttng-ust-malloc.c
index d407985f58c9d6abd306bd32ba1d3ebddfc885be..e1ff8e807f7a9fb22dc6f783230ce6f1b1693e4f 100644
(file)
--- a/
liblttng-ust-libc-wrapper/lttng-ust-malloc.c
+++ b/
liblttng-ust-libc-wrapper/lttng-ust-malloc.c
@@
-65,7
+65,7
@@
static
void ust_malloc_spin_lock(pthread_mutex_t *lock)
__attribute__((unused));
static
void ust_malloc_spin_lock(pthread_mutex_t *lock)
__attribute__((unused));
static
-void ust_malloc_spin_lock(pthread_mutex_t *lock)
+void ust_malloc_spin_lock(pthread_mutex_t *lock
__attribute__((unused))
)
{
/*
* The memory barrier within cmpxchg takes care of ordering
{
/*
* The memory barrier within cmpxchg takes care of ordering
@@
-80,7
+80,7
@@
static
void ust_malloc_spin_unlock(pthread_mutex_t *lock)
__attribute__((unused));
static
void ust_malloc_spin_unlock(pthread_mutex_t *lock)
__attribute__((unused));
static
-void ust_malloc_spin_unlock(pthread_mutex_t *lock)
+void ust_malloc_spin_unlock(pthread_mutex_t *lock
__attribute__((unused))
)
{
/*
* Ensure memory accesses within the critical section do not
{
/*
* Ensure memory accesses within the critical section do not
@@
-150,7
+150,7
@@
void *static_malloc(size_t size)
}
static
}
static
-void static_free(void *ptr)
+void static_free(void *ptr
__attribute__((unused))
)
{
/* no-op. */
}
{
/* no-op. */
}
This page took
0.023779 seconds
and
4
git commands to generate.