projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: run format-cpp on the tree
[lttng-tools.git]
/
src
/
common
/
filter
/
memstream.hpp
diff --git
a/src/common/filter/memstream.hpp
b/src/common/filter/memstream.hpp
index 26b124a9521086b7030b9c6bae13f2a58373a241..4fbdc02fe2bd241eaeb9fae25d92d37a3fc85946 100644
(file)
--- a/
src/common/filter/memstream.hpp
+++ b/
src/common/filter/memstream.hpp
@@
-11,24
+11,23
@@
#ifdef LTTNG_HAVE_FMEMOPEN
#include <stdio.h>
#ifdef LTTNG_HAVE_FMEMOPEN
#include <stdio.h>
-static inline
-FILE *lttng_fmemopen(void *buf, size_t size, const char *mode)
+static inline FILE *lttng_fmemopen(void *buf, size_t size, const char *mode)
{
return fmemopen(buf, size, mode);
}
#else /* LTTNG_HAVE_FMEMOPEN */
{
return fmemopen(buf, size, mode);
}
#else /* LTTNG_HAVE_FMEMOPEN */
-#include <stdlib.h>
-#include <stdio.h>
#include <common/error.hpp>
#include <common/error.hpp>
+#include <stdio.h>
+#include <stdlib.h>
+
/*
* Fallback for systems which don't have fmemopen. Copy buffer to a
* temporary file, and use that file as FILE * input.
*/
/*
* Fallback for systems which don't have fmemopen. Copy buffer to a
* temporary file, and use that file as FILE * input.
*/
-static inline
-FILE *lttng_fmemopen(void *buf, size_t size, const char *mode)
+static inline FILE *lttng_fmemopen(void *buf, size_t size, const char *mode)
{
char tmpname[PATH_MAX];
size_t len;
{
char tmpname[PATH_MAX];
size_t len;
This page took
0.024066 seconds
and
4
git commands to generate.