projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: function attribute 'unused'
[lttng-ust.git]
/
liblttng-ust
/
rculfhash.c
diff --git
a/liblttng-ust/rculfhash.c
b/liblttng-ust/rculfhash.c
index b25c1c182ca77e913ad1b100f9254329087fff2b..efdb5e70ef684d37dbad74af3df3d22820c10f1f 100644
(file)
--- a/
liblttng-ust/rculfhash.c
+++ b/
liblttng-ust/rculfhash.c
@@
-439,7
+439,10
@@
unsigned int fls_u64(uint64_t x)
#endif
#ifndef HAS_FLS_U64
#endif
#ifndef HAS_FLS_U64
-static __attribute__((unused))
+static
+unsigned int fls_u64(uint64_t x)
+ __attribute__((unused));
+static
unsigned int fls_u64(uint64_t x)
{
unsigned int r = 64;
unsigned int fls_u64(uint64_t x)
{
unsigned int r = 64;
@@
-476,7
+479,10
@@
unsigned int fls_u64(uint64_t x)
#endif
#ifndef HAS_FLS_U32
#endif
#ifndef HAS_FLS_U32
-static __attribute__((unused))
+static
+unsigned int fls_u32(uint32_t x)
+ __attribute__((unused));
+static
unsigned int fls_u32(uint32_t x)
{
unsigned int r = 32;
unsigned int fls_u32(uint32_t x)
{
unsigned int r = 32;
This page took
0.022735 seconds
and
4
git commands to generate.