projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port: extensions are enable by AC_USE_SYSTEM_EXTENSIONS
[lttng-tools.git]
/
src
/
common
/
pipe.cpp
diff --git
a/src/common/pipe.cpp
b/src/common/pipe.cpp
index 2de91f5a06eaac1f87aec7e724d9a98c5ef25eb3..8bf0c1ff33341e54728d3b0b196f62752fc536c6 100644
(file)
--- a/
src/common/pipe.cpp
+++ b/
src/common/pipe.cpp
@@
-11,9
+11,9
@@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <common/common.h>
+#include <common/common.h
pp
>
-#include "pipe.h"
+#include "pipe.h
pp
"
/*
* Lock read side of a pipe.
/*
* Lock read side of a pipe.
@@
-108,7
+108,7
@@
static struct lttng_pipe *_pipe_create(void)
int ret;
struct lttng_pipe *p;
int ret;
struct lttng_pipe *p;
- p =
(lttng_pipe *) zmalloc(sizeof(*p)
);
+ p =
zmalloc<lttng_pipe>(
);
if (!p) {
PERROR("zmalloc pipe create");
goto end;
if (!p) {
PERROR("zmalloc pipe create");
goto end;
This page took
0.023578 seconds
and
4
git commands to generate.