projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename C++ header files to .hpp
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
fd-limit.cpp
diff --git
a/src/bin/lttng-sessiond/fd-limit.cpp
b/src/bin/lttng-sessiond/fd-limit.cpp
index 833b64714b2aa1e9b1920c953962bf787076ee79..ac5c83f4b19775beed137606c483d20dadb3ecd9 100644
(file)
--- a/
src/bin/lttng-sessiond/fd-limit.cpp
+++ b/
src/bin/lttng-sessiond/fd-limit.cpp
@@
-10,9
+10,9
@@
#include <sys/time.h>
#include <sys/resource.h>
#include <stdio.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <stdio.h>
-#include "fd-limit.h"
-#include <common/error.h>
-#include <common/compat/errno.h>
+#include "fd-limit.h
pp
"
+#include <common/error.h
pp
>
+#include <common/compat/errno.h
pp
>
/* total count of fd. */
static long fd_count;
/* total count of fd. */
static long fd_count;
@@
-43,7
+43,8
@@
int lttng_fd_get(enum lttng_fd_type type, unsigned int nr)
return 0;
}
return 0;
}
-void lttng_fd_put(enum lttng_fd_type type, unsigned int nr)
+void lttng_fd_put(enum lttng_fd_type type __attribute__((unused)),
+ unsigned int nr)
{
uatomic_sub(&fd_count, (long) nr);
}
{
uatomic_sub(&fd_count, (long) nr);
}
This page took
0.024577 seconds
and
4
git commands to generate.