projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port: fix -Wdeprecated-declarations warning about sprintf on macOS clang 14
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
default_pipe_size_getter.cpp
diff --git
a/tests/regression/tools/notification/default_pipe_size_getter.cpp
b/tests/regression/tools/notification/default_pipe_size_getter.cpp
index 8615f769f842292be3597a75d4719d78394bb5ed..34eb3cdd35fd514498f1169da196239d7d1c0ecb 100644
(file)
--- a/
tests/regression/tools/notification/default_pipe_size_getter.cpp
+++ b/
tests/regression/tools/notification/default_pipe_size_getter.cpp
@@
-13,13
+13,13
@@
#define _GNU_SOURCE
#endif
#define _GNU_SOURCE
#endif
-#include <unistd.h>
+#include <common/error.hpp>
+#include <common/pipe.hpp>
+
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
-
-#include <common/pipe.hpp>
-#include <common/error.hpp>
+#include <unistd.h>
int lttng_opt_verbose;
int lttng_opt_mi;
int lttng_opt_verbose;
int lttng_opt_mi;
@@
-30,7
+30,7
@@
namespace {
/*
* Return the default pipe buffer size or a negative error.
*/
/*
* Return the default pipe buffer size or a negative error.
*/
-int get_pipe_size(
void
)
+int get_pipe_size()
{
int ret;
/*
{
int ret;
/*
@@
-66,7
+66,7
@@
int get_pipe_size(void)
#endif
} /* namespace */
#endif
} /* namespace */
-int main(
void
)
+int main()
{
int ret;
{
int ret;
This page took
0.023512 seconds
and
4
git commands to generate.